SDK you're using (please complete the following information):
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.d__7.MoveNext()\r\n---
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
SDK you're using (please complete the following information):
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.d__7.MoveNext()\r\n---
To Reproduce
Steps to reproduce the behavior:
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