- HTTP response codes in the 2xx range signify a successful operation.
- HTTP response codes in the 4xx range indicate an error related to the request, which may result from issues such as an omitted required parameter or a failed charge.
- HTTP response codes in the 5xx range indicate an error on Advocate’s servers, although these are infrequent.
Using the API
Errors
HTTP status codes and the error response shape
Advocate employs standard HTTP response codes to signify the outcome of an API request. In general: