Skip to content

Missing "ULTRA" enum value in Organisation.ClassEnum causes deserialization exception #647

@johnymotorhead

Description

@johnymotorhead

SDK you're using (please complete the following information):

  • Version 14.0.0

Describe the bug
Getting error when call IAccountingApiAsync.GetOrganisationsAsync:

Xero.NetStandard.OAuth2.Client.ApiException
Error converting value "ULTRA" to type 'Xero.NetStandard.OAuth2.Model.Accounting.Organisation+ClassEnum'. Path 'Organisations[0].Class', line 33, position 22.

Expected behavior
The organisation entity having "ClassEnum" = "ULTRA" to be received from API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions