Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: spelling and formating

...

Excerpt

This is a description of client or server side errors that might occur when

...

client application requests tokens from FUT Infrastructure authorisation server.

Client Side Errors

Most client-side errors results result in HTTP status code 400 Bad Request, and an error response. This indicates that the request is invalid, usually related with to the validation of the payload.

...

Code Block
languagejson
{
    "error": "invalid_grant",
    "error_description": "Session not active"
}

Client Side Error Examples

Below is a (not exhaustive) list of examples of different client-side error response bodies

Code Block
languagejson
{
    "error": "invalid_grant",
    "error_description": "Invalid refresh token"
}

{
    "error": "invalid_grant",
    "error_description": "Session not active"
}

{
    "error": "invalid_grant",
    "error_description": "Token is not active"
}

{
    "error": "invalid_grant",
    "error_description": "Invalid user credentials"
}

{
    "error": "unauthorized_client",
    "error_description": "INVALID_CREDENTIALS: Invalid client credentials"
}

{
    "error": "Invalid context",
    "error_description": "Not a member of Care team"
}

Server Side Errors

Server-side errors results result in HTTP status code 5**, and an error response. This indicates that the server could not fulfill the request due to some unexpected error, e. g failure to connect to dependent services.

...