Status code 403 Forbidden
Description The consumer access token doesn’t have the required scope to invoke the operation. The requiredScopes
property lists the required scopes.
The WWW-Authenticate
HTTP response header also provides error information compliant with the OAuth2 specification.
GET /enterprises/202239951
Authorization: Bearer ds4d2f13sdds2q13qxcgbdf245
HTTP/1.1 403 Forbidden
Content-Type: application/problem+json
WWW-Authenticate: Bearer realm="example", error="insufficient_scope", error_description="Missing scope to perform request", scope="enterprise-read"
{
"type": "urn:problem-type:belgif:missingScope",
"href": "https://www.belgif.be/specification/rest/api-guide/problems/missingScope.html",
"status": 403,
"title": "Missing Scope",
"detail": "Forbidden to consult the enterprise resource",
"requiredScopes": ["enterprise-read"]
}