Errors
Insufficient permissions
The `insufficient_permissions` error: HTTP 403 Forbidden.
The credential lacks the permission the route needs: missing_permission names it.
| Field | Value |
|---|---|
code | insufficient_permissions |
status | 403 Forbidden |
title | Insufficient permissions |
Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is insufficient_permissions. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/insufficient_permissions",
"title": "Insufficient permissions",
"status": 403,
"code": "insufficient_permissions"
}See every error code.