API Authentication Errors

You may get a non-200 JSON error like the following, with error_description containing details.

    {
        "error": "invalid_request",
        "error_description": "error_description"
    }
error returned when
invalid_request The request is missing a required parameter, or includes an unsupported or incorrect parameter.
invalid_client Client authentication failed (e.g. unknown client, no client credentials included, multiple client credentials included, or unsupported credentials type).
unauthorized_client The client is not authorized to request an authorization code using this method.
access_denied The resource owner or authorization server denied the request.
invalid_scope The requested scope is invalid, unknown, or malformed.
unsupported_response_type The authorization server does not support obtaining an authorization code using this method.