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 Code

Error Description

invalid_request

The 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_client

The request is missing the client ID or the request contains an invalid client ID.

invalid_grant

The request is missing the grant type or the request contains an invalid grant type.

unauthorized_client

The client is not authorized to request an authorization code using this method.

access_denied

The resource owner or Visma Authorization Server denied the request.

unsupported_response_type

The Visma Authorization Server does not support obtaining an authorization code using this method.

invalid_scope

The requested scope is invalid, unknown, or malformed.

server_error

The 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_unavailable

The 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.)