Error with GetOrganisationsAsync using LLC (S corporation) as Business structure
SDK you're using (please complete the following information):
- Version 9.2.0
Describe the bug
Getting an API exception in IAccountingApiAsync.GetOrganisationsAsync
Error converting value "SCORPORATIONLLC" to type 'Xero.NetStandard.OAuth2.Model.Accounting.Organisation+OrganisationTypeEnum'. Path 'Organisations[0].OrganisationType', line 13, position 43.","Data":{},"StackTrace":" at Xero.NetStandard.OAuth2.Client.CustomJsonCodec.
To Reproduce Steps to reproduce the behavior:
- Set Business structure in Organization details to "LLC (S corporation)"
- Save
- Call GetOrganisationsAsync from the .NET SDK
- See error
Expected behavior Org is retrieved successfully
Additional context I know we're behind on our version, but it seems like this could still happen in current version unless there's different handling in the JSON deserialization
PETOSS-923
Thanks for raising an issue, a ticket has been created to track your request
We are experiencing the same issue. We have customers that can't connect to Xero. When can we expect a fix?
Please note that the same error occurs with value "PARTNERSHIPLLC"
Same here, customers of that org. type can't connect to Xero.
Hi guys, same here for IAccountingApiAsync.GetOrganisationsAsync (SDK ver 14.0.0), please see details below:
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.
It appears the APIs are also broken for SINGLEMEMBERLLC