Execution failed error seen for JSONThreatProtection Policy

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 Solved
0 2 1,189
1 ACCEPTED 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

View solution in original post

2 REPLIES 2

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

@Akash Prabhashankar

I get this error at JSON threat protection ONLY when I run GET flows. But, No issues on POST type flows. Does it mean JSON threat protection is not applicable for GET type ? Same issue I have even Regular Expression threat protection policy which i using for SQL threat protection. Any idea ?

Side Note: I do not have any issue when i use SoapUI where as from Portal, I have above issue ? I really appriciate your help.

{"fault":"{\"detail\":{\"errorcode\":\"steps.jsonthreatprotection.ExecutionFailed\"},\"faultstring\":\"JSONThreatProtection[JSON-Threat-Protection]: Execution failed. reason: Expecting { or [ at line 1\"}"}