“Type”:null,”Title”:”Unauthorized”,”Status”:401,”Detail”:”AuthenticationUnsuccessful”
What does this error mean? – This error message indicates that the secure connection to Xero is broken due to the Xero security token failing or expiring. It can happen in a number of circumstances such as during an upgrade sometimes depending on the code that gets changed or if the user who created the Xero app has had his account closed. The normal connection status should be like below ie Active in green.
How do I fix it? – You can fix it by clicking on the Authorise button and reconnecting. If you are not logged into Xero it will prompt you to login. If it is showing as already connected then select continue with existing organisation and it will reconnect. The status button should then go to Active, ie green, and orders should then send again. Try sending or resending an order to check it is working. If this fails to re-establish the connection then go to connection settings in Xero and disconnect the Xeroom app and then go back and try again to reconnect in Xeroom.
Will it happen again? – To avoid this happening we have improved the connection stability with an automatic Xero token refresh every 15 mins which prevents other apps from taking the connection limit. If it is still happening frequently eg every few days, then please check the cause above and ensure that you are using the latest version of Xeroom. If you are then submit a ticket to our support desk.
Forbidden Status 403 in error message cf Status 401
The 403 status code has a slightly different implication. It tells the client, "I know who you are, but you're not allowed here." Even if the client provides valid authentication credentials, the server can still return a 403 if the client doesn't have permission to access the requested resource. This points to not just an invalid token but invalid connection credentials so please check and recreate your secret in the Xero application.
If this doesn’t fix it then try:
2. Staff changes - A common cause is that the person who created the app in Xero has been deleted from Xero by the administrator which removes their apps. If this is the case then you will need to recreate the app as per the step-by-step instructions on our website https://www.xeroom.com/installation-instructions/.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article