Skip to content

insufficient_scope

HTTP 403insufficient_scopeInsufficient scope

The key lacks the scope the endpoint requires.

Common causes

  • a publishable mk_pub_ key on an endpoint other than /v1/autocomplete or /v1/vat/validate
  • a key without entities:search used for search

What to do

  • Add the scope to the key, or use a secret key on your server.
Retry?No, the result will be the same unless the request changes.
Billing0 units.
typehttps://maticna.si/docs/errors/insufficient_scope

Example response

HTTP/1.1 403
Content-Type: application/problem+json
X-Request-Id: req_01JB2Q8X6S7T
{
"type": "https://maticna.si/docs/errors/insufficient_scope",
"title": "Insufficient scope",
"status": 403,
"detail": "The key lacks the scope the endpoint requires.",
"instance": "/v1/entities/12345679",
"code": "insufficient_scope",
"request_id": "req_01JB2Q8X6S7T"
}

All errors

Source: FURS · unofficial source, not an official extract · Terms · Privacy · maticna.si