An error has occurred while handling the request.

0
“An error has occurred while handling the request. [User 'Anonymous_75bb9948-2233-4f78-a8bc-53d6054caad7' with session id '772e1239-XXXX-XXXX-XXXX-XXXXXXXX6c54' and roles 'Administrator']” I am getting this error while trying to get JSON data through HTTP header.  I feel this error might be because of “Nil” data in JSON. How do I catch these exceptions? What should I do in microflow? Thanks in advance.
asked
2 answers
0

Hi Pavan,

Try to Put error Handling for the rest call and print the stack trace. This will give a clear idea of what the error is about.

answered
0

Hi Pavan,

Right click the call REST -set as error handling-select custom with rollback. Below the call REST add a log message activity, inside that set as error in log level, give the node name ,in template set as{1} in parameters add latesterror/message. After connecting the path(->) to log message right click the path and  select -set as error handler. Try to debug you will be able to see the error in call REST .

answered