If request parameters are invalid then following JSON will be returned as an output :
{
"result":"Error",
"data":"<email-id> doesn't have any API key registration"
}
This error scenario occurs when email in request header is invalid.
{
"result":"Error",
"data":"Request Signature is invalid"
}
This error scenario occurs when secure_key in request header is invalid.
{
"result":"Error",
"data":"No data found for the event - <event code>"
}
This error scenario occurs when eventCode in query parameter is invalid.
{
"result":"Error",
"data":"This request doesn't have security signature"
}
This error scenario occurs when you forgot to add secure_key in request header.
{
"result":"Error",
"data":"This request doesn't have registered Email Info"
}
This error scenario occurs when you forgot to add email in request header.
{
"result":"Error",
"data":"Security credentials doesn't match, check your API key or email."
}
This error scenario occurs when email and secure_key does not match.