Skip to main content
This article explains the common error codes and HTTP status codes you may encounter when using the Cobo Payments API and how to resolve the errors.

Error codes

Error codeDescriptionSolution
1006, 2006One or more parameters are in an invalid format or contain unsupported values.Provide valid parameters in the expected format.
2024API key authentication failed.
  • Use the API key that corresponds to the current environment (e.g., use a development API key in the development environment and a production API key in the production environment).
  • Ensure that the API key you are using is registered in the Cobo Portal and is in active status.
  • If your API key is permanent, make sure the request originates from a whitelisted IP address.
For details, see Send your first request.
4001Forbidden access to the requested resource.Check the permissions associated with your API key. You can refer to Roles and permissions for details.

HTTP status codes

Status codeDescriptionSolution
200OK.N/A
400Bad request.Check the request parameters.
401Unauthorized.Check the API key, API signature, or timestamp.
403Forbidden.Ensure you have the required permissions.
404Not Found.Check the request URL.
405Method Not Allowed.Use a supported HTTP method.
406Not Acceptable.Ensure the request content format is JSON.
429Too Many Requests.Reduce request frequency and try again later.
500Internal Server Error. This error can be caused by several issues.Check your server configuration settings and try again later.
502Bad Gateway.Check the connectivity and try again later.
503Service Unavailable.Try again later.