REST call activity error handling

0
Hi Experts, Hope you are doing good.   I have integreted API for generating OTP using CALL rest activity post method and applied error handling on same. While debugging I found that its showing " Unsupported media type" and "Microflow exception" error message in log message activity. Any ideas or suggestions to solve this issue?   Thanks for support  
asked
1 answers
0

Hi Malay Modi,

I guess you do not send the Content-Type header along with your request, as this generally results into "HTTP Error 415 - Unsupported media type". Go to the HTTP Headers tab and configure 'application/json' for JSON messages (or 'text/xml' for XML messages):

image.png

 

Good luck!

answered