This is the error message thrown:-
{ "fault": { "faultstring": "JSONThreatProtection[json-threat-protection]: Execution failed. reason: Expecting { or [ at line 1", "detail": { "errorcode": "steps.jsonthreatprotection.ExecutionFailed" } } }
Solved! Go to Solution.
By default, Edge throws an HTTP 500 Internal Server Error status code and an ExecutionFailed error if a message doesn't make it past a JSON or XML Threat Protection policy. You can change that error behavior with a new organization-level property.
The below documentation has illustrations on different error codes:
http://docs.apigee.com/api-services/reference/json-threat-protection-policy