unauthorized
Not authorized
BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog
Last updated
API v2
stoqapp.comAbout STOQContactPrivacy policyHelp center
Not authorized
Section titled “Not authorized”Code: unauthorized · HTTP status: usually 401
The action needs a credential and did not get one that works.
How to fix
Section titled “How to fix”Send a valid API key as for auth_required.
Example response
Section titled “Example response”{ "code": "unauthorized", "type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/unauthorized/", "title": "Not authorized", "status": 401, "detail": "Not authorized. This action needs a credential that it did not get.", "errors": [ "Not authorized" ], "details": [ { "code": "unauthorized", "message": "Not authorized", "path": null, "value": null, "expected": null } ]}Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.
Was this page helpful?
Thanks for letting us know.
Still stuck? Ask Quinn or chat with support