Public APIError codes
Public APIError codes
invalid_token (HTTP 401)
invalid_token (HTTP 401) from the GetItDone API: An OAuth 2.1 access token was supplied but is expired, malformed, or revoked.
Seeing this in an AI assistant or MCP connector, not from our API? Read what "invalid access token" means.
- HTTP status: 401
- Problem type URI: https://nowgetitdone.com/docs/api/problems/invalid-token
What it means
An OAuth 2.1 access token was supplied but is expired, malformed, or revoked.
Likely causes
- The access token has passed its expiry.
- The token was issued by a different authorization server or for a different resource.
How to fix
- Refresh the access token using your refresh token (request the
offline_accessscope to receive one). - Re-run the OAuth authorization flow if the grant was revoked.
Example problem+json
{
"type": "https://nowgetitdone.com/docs/api/problems/invalid-token",
"title": "Invalid access token",
"status": 401,
"code": "invalid_token",
"request_id": "req_a1b2c3d4"
}Related
Read this page as Markdown — plain text for AI agents. Every guide at once: llms-full.txt.
invalid_api_key (HTTP 401)
invalid_api_key (HTTP 401) from the GetItDone API: A `gid_` API key was supplied but does not match any active credential.
insufficient_scope (HTTP 403)
insufficient_scope (HTTP 403) from the GetItDone API: The credential is valid but was not granted a scope this operation requires.