You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.xero.api.XeroServerErrorException: An error occurred in Xero. Check the API Status page http://status.developer.xero.com for current service status.
at com.xero.api.XeroApiExceptionHandler.execute(XeroApiExceptionHandler.java:211)
at com.xero.api.client.AccountingApi.updateRepeatingInvoice(AccountingApi.java:32416)
...
I was using it to try and change the status to DELETED, which is a permitted operation for the endpoint.
I have no problems using other methods in the SDK, including createInvoices, so I don't think authentication or scope are to blame, though I'd a more specific message as I've seen before.
I have tried sending what I believe to be an equivalent manual HTTP POST request to the API outside of the SDK, and that has worked without issue, which leads me to believe it may be SDK related.
Any insight would be much appreciated.
To Reproduce
Steps to reproduce the behavior:
Get a Repeating Invoice via getRepeatingInvoice
Change the status to DELETED
Try to save it using updateRepeatingInvoice
Expected behavior
To receive no exceptions, and successfully delete the invoice.
The text was updated successfully, but these errors were encountered:
SDK version 4.29.1 (not currently able to upgrade due to javax/jakarta switchover).
When calling updateRepeatingInvoice to delete a Repeating Invoice I get the following exception:
api.updateRepeatingInvoice(xeroAccessToken, xeroTenantId, invoiceId, repeatingInvoices, idempotencykey);
I was using it to try and change the status to DELETED, which is a permitted operation for the endpoint.
I have no problems using other methods in the SDK, including createInvoices, so I don't think authentication or scope are to blame, though I'd a more specific message as I've seen before.
I have tried sending what I believe to be an equivalent manual HTTP POST request to the API outside of the SDK, and that has worked without issue, which leads me to believe it may be SDK related.
Any insight would be much appreciated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To receive no exceptions, and successfully delete the invoice.
The text was updated successfully, but these errors were encountered: