Skip to main content
The Synci API uses conventional HTTP status codes. Codes in the 2xx range mean success, 4xx means something was wrong with the request, and 5xx means something went wrong on Synci’s side.

Error response format

Errors return a JSON body with a human-readable message:
Validation failures (422) additionally include an errors map with per-field messages:

Status codes

OAuth errors

The OAuth endpoints (/oauth/authorize, /oauth/token) return standard OAuth 2.0 error codes:

Handling errors

  • Retry 429 and 5xx with exponential backoff. Honor the Retry-After header when present.
  • Do not retry 4xx (other than 429) without fixing the request.
  • Treat 401 on a previously working OAuth token as “access token expired”: refresh and retry once. If the refresh also fails, the user has likely revoked your app and needs to authorize again.