Understand common issues and how to troubleshoot them.
The FincoEnergies API uses standard HTTP status codes to indicate the success or failure of an API request. Common error codes include:
- 400 Bad Request for invalid or malformed requests,
- 401 Unauthorized for requests lacking proper authentication (e.g., missing or invalid OAuth token),
- 403 Forbidden for requests that are authenticated but lack the necessary permissions,
- 404 Not Found when a requested resource cannot be found, and
- 500 Internal Server Error for unexpected server-side issues. Each error response includes a JSON-formatted message with additional details to help diagnose and correct the issue. We recommend implementing appropriate error handling in your application to manage these responses and retry or adjust requests as necessary.