Error Handling

In the process of interacting with our API endpoints, developers may encounter various types of errors. This section outlines common error types that may be encountered during request initiation, along with troubleshooting tips to address them effectively.

400 – Bad Request
• Check Request Syntax: Review the request you’re sending to ensure it adheres to the API’s expected syntax, including required headers, parameters, and payload format.
• Validate Input Data: Ensure that the data you’re sending in the request is valid and correctly formatted, all required fields are present and have the correct data types.

401 – Unauthorized
• Check Permissions: Make sure that the authenticated user has the necessary permission to access the requested resource.
• Refresh Tokens: Refresh the access token if it has expired.

403 – Forbidden
• Check IP Whitelisting: If applicable, ensure that your IP address is whitelisted to access the API.

404 – Not Found
• Verify endpoint URL: Double-check the URL used in the request to ensure it corresponds to a valid endpoint.
• Review API documentation: Look for any changes in endpoint paths or resource naming conventions.

422 – Unprocessable Content
• Review the request payload and ensure that all required fields are present, and the data is correctly formatted.