API Error Codes

Detailed explanation of each error code returned by the itWrites API. This guide helps developers understand and troubleshoot errors encountered during API integration.

Introduction to API Error Codes

When using the itWrites API, you may encounter various error codes that signify different issues within your requests or our service. Understanding these error codes is crucial for efficient troubleshooting and error handling. Below is a comprehensive list of all possible error codes and their meanings.

Common Error Codes

401 MISSING_VARIABLES

Code: 401
Message: Missing required variables in the request.
Resolution: Ensure all required fields are included in your API request.

100 Service Not Found

Code: 100
Message: Service not found.
Resolution: Verify the endpoint URL and ensure you're accessing a valid service.

101 Invalid API Key

Code: 101
Message: Invalid API key.
Resolution: Check your API key for accuracy and ensure it hasn't expired or been revoked.

102 No Valid Credits Available

Code: 102
Message: No valid credits available.
Resolution: Ensure your account has the necessary credits to perform the requested operation.

103 Insufficient Credits

Code: 103
Message: Insufficient credits.
Resolution: Top up your account credits to continue using the services without interruption.

104 Transaction Failure

Code: 104
Message: Credit management failed.
Resolution: There was an error processing a transaction related to your credits. Please try again or contact support if the issue persists.

105 Unknown Error

Code: 105
Message: An unknown error occurred.
Resolution: An unexpected issue occurred. Contact support for further investigation.

106 Invalid Service

Code: 106
Message: Invalid service.
Resolution: The requested service does not exist. Check the request for typos or outdated information.

107 Invalid Service Token

Code: 107
Message: Invalid service token.
Resolution: The provided service token is invalid or expired. Obtain a new token and try again.

108 Invalid Service Engine

Code: 108
Message: Invalid service engine.
Resolution: The specified engine for the service is incorrect or unavailable.

109 Engine Error

Code: 109
Message: Engine error.
Resolution: An error occurred within the processing engine. Try again later or report the issue.

110 Engine Error Cost Missing

Code: 110
Message: Engine error cost missing.
Resolution: The cost of processing could not be calculated. Verify the request parameters and try again.

111 Invalid Engines Options

Code: 111
Message: Invalid engines options.
Resolution: The options provided for the engine are invalid. Refer to the documentation for the correct options.

112 Invalid Service Settings

Code: 112
Message: Invalid service settings.
Resolution: The configuration for the service is incorrect or not supported. Review and update the settings as necessary.

113 Invalid Service Organization

Code: 113
Message: Invalid service organization.
Resolution: The organization information provided does not match our records. Ensure the organization details are correct.

114 Server Error Config

Code: 114
Message: Server error config.
Resolution: There is a configuration error on the server. Contact technical support for assistance.

114 Not Mapped

Code: 114
Message: Not mapped.
Resolution: An error code has been reused or not properly mapped to a unique issue. This may require further clarification from support.

By familiarizing yourself with these error codes, you can more effectively diagnose and solve issues as they arise during your integration and use of the itWrites API. If you need additional help, don't hesitate to contact our support team at support@itwrites.ai .