Home / General / Invalid response

General ‐ Invalid response


All endpoints have the same structure for the invalid response.

Additionally, the validity of the response can be checked by looking at the HTTP code of the response, with the standard HTTP and REST rules applying (2xx for valid, 3xx for redirections, any other for errors).

        {
            "valid": false,
            "data": {
                "message": "Info about error",
                "extra": "Optional, additional info about the error"
            } 
        }