When making API calls, you may encounter the following error codes. These codes will help you identify and resolve issues in your implementation:
- 404 Error (Project Not Found): This indicates that the project either doesn't exist or has been cancelled. To resolve this, create a new project and update your implementation to use the new project ID.
- 402 Error (Usage Limit Exceeded): This occurs when your project exceeds the usage limit, which typically applies to the Developer plan. To resolve this, upgrade to a paid plan to remove the usage cap and continue using the API without interruptions.
- 401 Error (Unauthorized API Call): This error signifies that your API call is unauthorized. To fix this, either add the necessary domain to the authorized domain list in your settings or include a valid token in your API requests.
These troubleshooting steps should help resolve common errors encountered during API usage.