In this article, you can review possible errors that can occur when sending messages via edna API.
Code 400
Error | Description |
RequestId is not unique | This RequestId has been already used. Use a new RequestId for each request. |
Content not specified | You haven’t specified the content. Specify the content type and all its properties (for example, smsContent/viberContent/whatsappContent). |
ContentType not specified | You haven’t specified the content type (for example, TEXT or IMAGE). |
Text not specified | You haven’t filled in the text value. |
Caption not specified | You haven’t filled in the signature value. |
Action not specified | You haven’t filled in the value for the button action. |
AttachmentName not specified | You haven’t specified the name of the attached document. |
AttachmentName is too long | The name of the attached document is too long. Max length – 70 symbols. |
Latitude not specified | You haven’t specified the latitude in the attached location. |
Longitude not specified | You haven’t specified the longitude in the attached location. |
Cascade not found | The cascade ID is incorrect. Review the cascade list and correct the ID. |
Request doesn’t contain content for all cascade stages | The cascade contains more channels than specified. Add one more channel to the content object request. |
Matched template not found | The request body doesn’t match the template. Review and correct. |
Code 401
Error | Description |
Auth error | Authorization error. Check the spelling and the expiration date of the API key |
Code 404
Error | Description |
Not found | Not found requested URL. |
Code 405
Error | Description |
Method not allowed | The HTTP request method is not allowed. Use POST, GET, and other methods according to the documentation. |
Code 500
Error | Description |
System error | Server error. Contact the support team. This can happen if the request is incorrect. Check the relative location, availability, and fullness of all the properties of the request according to the documentation. |
More error codes might be added. Please consider this when setting up the integration.