Error Codes

IdentityServer error codes

If you make a faulty request in some way towards the auth endpoints, you will face any of the error codes below.

Error CodeError Description
invalid_requestThe request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, redirect URI has incorrect URI scheme, or is otherwise malformed.
invalid_clientThe request is missing the client ID or the request contains an invalid client ID.
invalid_grantThe request is missing the grant type or the request contains an invalid grant type.
unauthorized_clientThe client is not authorized to request an authorization code using this method.
access_deniedThe resource owner or Visma Authorization Server denied the request.
unsupported_response_typeThe Visma Authorization Server does not support obtaining an authorization code using this method.
invalid_scopeThe requested scope is invalid, unknown, or malformed.
server_errorThe Visma Authorization Server encountered an unexpected condition that prevented it from fulfilling the request. (This error code is needed because a 500 Internal Server Error HTTP status code cannot be returned to the client via an HTTP redirect.)
temporarily_unavailableThe Visma Authorization Server is currently unable to handle the request due to a temporary overloading or maintenance of the server. (This error code is needed because a 503 Service Unavailable HTTP status code cannot be returned to the client via an HTTP redirect.)