| Code | session_required |
| Type | authentication_error |
| HTTP status | 401 |
| Default message | Authentication is required. |
What to do
Section titled “What to do”We could not tell who is calling. Check the credentials you send.
Every error has the same shape; error.code is this code, and meta.request_id is what to quote when you ask us about a request.
{ "error": { "type": "authentication_error", "code": "session_required", "detail": "Authentication is required.", "documentation_url": "https://docs.baiyar.com/resources/errors/session_required/" }, "meta": { "request_id": "req_…" }}