Error 500 in REST Outbound
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2024 11:33 AM
Hi Team,
Working on a Outbound REST message , when I trying to send addtional comments getting below error:
The payload is not valid JSON.","detail":""},"status":"failure"}
Code is like below:
Please help what is missing in logic to send comments with out error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2024 11:55 AM
Hi @maneesh3,
I think more information is needed to properly assist you in troubleshooting this issue.
Go to System Web Services > Outbound > REST Messages select your rest request and then select the HTTP method and use the Related Link called Set HTTP Log Level and select All. You also will see an area to test your request here and preview script usage which may be helpful.
Then run your script again.
Then go to System Logs > Outbound HTTP Requests, select the outbound request and screenshot the Request tab. Be sure to redact any sensitive information but include the structure of the request body and headers.
Thanks,
Ben