Learn more about error codes
In case of 4xx
error, the API response will include:
errorCode
- Explains briefly the errordata
- Optional field that gives deeper descriprion to the errorcorrelationId
- Unique ID that could be used by customer service to track down the error
Sample error
{
"errorCode": "TEMPLATE_NOT_FOUND",
"correlationId": "7fd9735e77c04eca9b9ae13b3c0fb81c"
}
Error codes
NO_ACCESS
NO_ACCESS
No valid API key provided
INVALID_REQUEST
INVALID_REQUEST
The request was not acceptable. Usually due to invalid or missing required parameter
TEMPLATE_NOT_FOUND
TEMPLATE_NOT_FOUND
Template was not found in your workspace
INVALID_TEMPLATE
INVALID_TEMPLATE
Template processing failed. Usually due to misusage of curly brackets for variables.
For example {{variable}
will cause the problem as the variable placeholder starts ({{
) but doesn't end properly (}
)