Errors
Unauthorized
The `unauthorized` error: HTTP 401 Unauthorized.
No credential at all.
| Field | Value |
|---|---|
code | unauthorized |
status | 401 Unauthorized |
title | Unauthorized |
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 unauthorized. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized"
}See every error code.