Troubleshooting problems with JSON requests

If CICS® is rejecting JSON, whether as an input message to a web service or when used with the linkable interface to transform JSON, the JSON might be invalid or not conforming to the schema.

About this task

If CICS encounters a problem with JSON provided by a web service requester or an application program, an error message is return with details of the problem. When CICS is acting as a web service provider, the error message is returned to the client application as a JSON response. For more information, see Error responses returned to the client. When an application calls the linkable interface to transform JSON, an error code is returned in the DFHJSON-ERROR container and a detailed message in the DFHJSON-ERRORMSG container. For more information, see JSON transformer linkable interface. In both cases the troubleshooting steps are the same and depend on the type of error.

Procedure

What to do next

After you have corrected your JSON, rerun the application.


troubleshooting_json_requests.html | Timestamp icon Last updated: Monday, 5 June 2017