-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null Responses Returned From AccountingApi Client #507
Comments
PETOSS-404 |
Thanks for raising an issue, a ticket has been created to track your request |
Here is when it has occurred, in the last 30 days: 2/20/2024, 10:12:07.3756086 AM (Local time) |
So we've started using the client methods ending in "WithHttpInfo" to gather a bit more information from the returned ApiResponse. What we see when null is returned is that the ApiResponse StatusCode is 0, and the ErrorText is "The operation was canceled". Response StatusCode: 0 Looks like a client side timeout is causing the DefaultExceptionFactory to return null. |
SDK you're using (please complete the following information):
Xero.NetStandard.OAuth2 4.0.1
Xero.NetStandard.OAuth2Client 1.6.0
Describe the bug
We have been using the Xero.NetStandard.OAuth2 packages for several years to integrate with Xero with no real issue.
In the last 2 months or so various API's have been returning a null 'response'.
We would not expect that. If the API call is successful we'd expect the response object back, otherwise if it is not successful we'd expect an exception telling us the issue.
This issue does not happen all the time, but happens occasionally, like twice a week.
Additionally, we have several customers that we integrate with Xero for using a Custom Connection, and the issue occurs across these different customers\connections.
e.g. This call can occasionally return a null 'response'
e.g. This call can occasionally return a null 'response'
The text was updated successfully, but these errors were encountered: