Xero Integration Errors
If you're having trouble connecting Xero to Pabau, listed below are the most common error messages and how to resolve them.
Error Code: 500
Message: unauthorized_client: Unknown client or client not enabled
This error means that the Client ID you entered in Pabau is either incorrect or the client has not been enabled in your Xero app.
How to fix it:
-
Log in to your Xero account and go to My Apps.
-
Find the app you created following the Xero integration setup guide.
-
Click on the app and switch to the "Configuration" tab.
-
Copy the Client ID.
-
In Pabau, go to Setup > App Marketplace> Connected Apps> Xero.
-
Click the Configure button.
-
Paste the Client ID into the form and click Generate Sync Link to proceed.
Error Code: 400
Message: The requested URL returned error: 400
This error typically appears when the Client Secret Key is incorrect or missing.
How to fix it:
-
Open the details page of your Xero app as described above.
-
If you didn’t save the original secret key, you can delete the old one or ignore it.
-
Click Generate another secret to create a new key.
-
Copy and securely save the new key immediately, as you won’t be able to view it again.
-
In Pabau, go to Setup > App Marketplace> Connected Apps> Xero.
-
Click the Configure button.
-
Paste the new Client Secret Key into the form and click Generate Sync Link.
Error Code: 500
Message: unauthorized_client : Invalid redirect_uri
This error means that the OAuth 2.0 redirect URI has not been set correctly in your Xero app.
How to fix it:
-
Go to the details page of your Xero app.
-
Locate the OAuth 2.0 redirect URI field.
-
Ensure the correct URL is entered without typos.
If your Pabau URL is app.pabau.com, use this URI:https://app.pabau.com/index.php?p=xero_integration
If your account uses a different domain, replace it accordingly. For example, if your URL is clinic.pabau.me, use:https://clinic.pabau.me/index.php?p=xero_integration
-
Click Save to update the application details.
-
Retry the integration process in Pabau.
If you encounter a warning message attached to your icon that is not listed in our list, please report it to our customer support staff.
Was this guide helpful? Let us know by voting below - your feedback helps us write clearer articles.
For more guides, browse the related articles below or use the search bar at the top of the page. You can also watch our video learning series, the Pabau Academy, or visit the Support page for additional help.