The API says insufficient_scope
Owner, AdminLast checked 25 November 20261 min readArticle ID:
developers-insufficient-scopeOn this page
Your token lacks the scope this call needs. Add the scope to the app, then request a new token.
What you see
403 with error.code of insufficient_scope.
Why it happens
- The call needs a specific scope, and the app doesn't hold it. A scope counts only while both the token and the app hold it.
- You added the scope to the app, but you're still using an old token. A token carries the scopes the app had when it was issued.
- You're subscribing to a webhook event whose resource you can't read:
job.*needsread:jobs,invoice.*needsread:invoices, and so on. - You're listing a job's notes with
GET /jobs/{id}/notes, which needsread:notesas well asread:jobs.
How to fix it
- Find the scope the call needs in Scopes. For example,
POST /jobsneedswrite:jobs. Then in Settings › API & Webhooks, select Edit on the app and tick the scope. You can only tick scopes you're allowed to use yourself. - Request a new token, because an old token still lacks the new scope. See Get and use an access token.
- Add the event's read scope to the app, then request a new token.
- Add
read:notesto the app, then request a new token.
Notes missing from a record is not this error. Without read:notes the notes field is simply left out.
Don't retry a 403 unchanged. For the other 403 codes, see 401 and 403 errors.