Troubleshoot problems with comprehensive breakdown of all error codes
CCTP Explorer API returns machine readable error codes, human readable error messages and a link to the docs for more information.Here is how an error response looks like:
Copy
{ "status": 400, "body": { "errors": ["Invalid startDate. Must be a unixtimestamp."] }}
Status: 400 (Note: The HTTP response status will be 200, but the JSON response will contain the actual status code)
Problem: The request is malformed, either missing required fields, using wrong datatypes, or being syntactically incorrect.
Solution: Check the request and make sure it is properly formatted. You need to check the status field in the JSON response, not the HTTP response status.