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
{{ message }}
Repository navigation
Generic "Check Service Status" 500 exception when trying to use updateRepeatingInvoice to delete #368
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.
Activity
github-actions commentedon Jul 15, 2024
PETOSS-477
github-actions commentedon Jul 15, 2024
Thanks for raising an issue, a ticket has been created to track your request