Xero: Connecting a new app (created after March 2, 2026)
Xero introduced a breaking change to their OAuth scopes on March 2, 2026. Apps created before this date are unaffected and continue to work as normal until September 2027.
Apps created on or after March 2, 2026 no longer support Xero's two broad scopes:
accounting.transactionsaccounting.reports.read
If your app was created after March 2, 2026, you will see one of these errors when trying to authorize:
Error: unauthorized_client- your Xero Client ID or Secret is not correctly configured in ApideckError: invalid_scope- your app does not support one or more of the default scopesError: unauthorized_client/ "Invalid scope for client" - your app does not have permission to request one or more scopes. Follow Step 2 to override the default scopes.
Apideck's default scopes already use Xero's new granular scopes (since May 2026), so new connections no longer request the two broad scopes above. If you still see one of these errors, the usual causes are:
Your Xero credentials or redirect URI aren't set up correctly in Apideck (Step 1).
Your app isn't allowed to request some of Apideck's default scopes. Apideck's defaults include the Balance Sheet and Profit & Loss report scopes, which new Xero apps can only use through Xero's App Partner Program (see Known limitations below). Remove them as described in Step 2.
Step 1 - Add your Xero credentials to Apideck
Go to platform.apideck.com → Configuration → Accounting → Xero
Under Credentials, enter your Xero Client ID and Client Secret
Make sure
https://unify.apideck.com/vault/callbackis added as a redirect URI in your Xero app at developer.xero.comClick Save
Step 2 - Override the default scopes
On the same page, scroll down to the Scopes section
Uncheck everything that is currently selected
Check only the following scopes - if a scope is not in the list, add it manually using the custom scope field:
Scope | Purpose |
|---|---|
| Required for refresh tokens |
| Required for OAuth |
| User profile |
| User email |
| Organisation settings, tax rates, chart of accounts |
| Customers and suppliers |
| File attachments |
| Invoices, bills, credit notes, purchase orders |
| Payments and bill payments |
| Bank transactions and transfers |
| Manual journals |
| Aged debtors and creditors reports |
Click Save
Step 3 - Authorize
Go back to your Vault connection and click Authorize. You should now see the Xero consent screen and be able to complete the connection.
Known limitations for new apps
The following resources are not available for standard new Xero apps due to scope restrictions imposed by Xero. These scopes require enrolment in Xero's App Partner Program:
Resource | Blocked scope |
|---|---|
Balance Sheet report |
|
Profit & Loss report |
|
Journal Entries (read) |
|
If you need access to these resources, you will need to apply to Xero's App Partner Program. This is a Xero-side requirement and is outside of Apideck's control.
Aged debtors and aged creditors reports (accounting.reports.aged.read) are not affected and work for all new apps.
Existing apps (created before March 2, 2026)
No action is required right now. Apideck's default scopes are already the new granular ones, so new authorizations use them. Connections your consumers authorized before May 2026 keep the broad scopes (accounting.transactions and accounting.reports.read) they consented to. These keep working until September 2027, when Xero retires them, so plan for your consumers to re-authorize their Xero connections before then.
For a complete breakdown of all available granular scopes and what endpoints they cover, see Xero Scopes: What Changed and What It Means for Your Integration.
Still having issues?
Contact Apideck support through the Customer Portal (the Requests link at the top of this help center), your Slack channel with us, or support@apideck.com, and include:
Your Apideck App ID
A screenshot of the error from Xero
The error URL from your browser address bar when you authorize the connection



