Skip to main content

HTTP Response Codes

When an error occurs, API People APIs return a structured JSON body to help you identify and resolve issues, see the example below.

{
"apiName": "ACH Payments API",
"version": "v1",
"correlationId": "679751e0-36ba-49a1-b992-599c75beec66",
"timestamp": "2025-06-05T10:12:43.642286-07:00",
"errorDetails": {
"code": "409",
"reason": "CONFLICT",
"details": "ACH 60 days Limit Reached"
}
}

The table below describes the parameters of the response.

FieldTypeDescription
apiNamestringThe name of the API being invoked.
versionstringThe current API version.
correlationIdstringThe x-correlation-id value used in the request for traceability.
timestampstringThe date and time when the error occurred (ISO 8601 format).
errorDetails.codestringThe HTTP status code as a string.
errorDetails.reasonstringThe HTTP status reason (e.g., CONFLICT, NOT_FOUND).
errorDetails.detailsstringA human‑readable message that provides more context about the failure.

Status Code Categories

API People APIs use standard HTTP status codes to indicate the outcome of each API request. Allowing client applications to programmatically detect and handle success, client errors, or server-side issues.

  • Codes in the 2xx range usually indicate success.
  • Codes in the 4xx range indicate an error that occurred based on the information provided (e.g., a missing parameter, etc.).
  • Codes in the 5xx range indicate an internal error.

The sections below describes more details about each of the codes.

2xx – Success

These codes indicate that the request was received, understood, and successfully processed.

HTTP Status CodeMessageDescription
200OKRequest succeeded.
201CreatedResource successfully created (for example, after a POST).
204No ContentRequest succeeded, no body returned (for example, after a DELETE).

4xx – Client Errors

These codes indicate that the request was invalid or cannot be processed due to a client-side issue.

HTTP Status CodeMessageDescription
400Bad RequestThe request could not be understood or was missing required parameters.
401UnauthorizedAuthentication is required or has failed.
403ForbiddenThe request is understood but not allowed.
404Not FoundThe requested resource does not exist.
409ConflictThe request could not be completed due to a conflict (for example, duplicate transaction).
422Unprocessable EntityThe server understands the content type but was unable to process the contained instructions.

5xx – Server Errors

These codes indicate an error occurred on the API People server while processing the request.

HTTP Status CodeMessageDescription
500Internal Server ErrorAn unexpected condition was encountered.
502Bad GatewayReceived an invalid response from an upstream server.
503Service UnavailableThe server is currently unavailable (for example, due to maintenance or overload).
504Gateway TimeoutThe server did not receive a timely response from an upstream service.