- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2022 10:26 PM
Hi All,
I provided rest api explorer url and third party is sending data to middleware and middleware sending the data to servicenow. I am receiving the data in ServiceNow but middleware is not receiving any success from my side. It is shaowing waiting at middleware end so it is trying again after 10 min and in servicenow we are getting multiple entries for same data. They are getting error: Server returned code: 500. Attached is the snapshot for the error and information which middleware received.
Kindly help!
Regards,
Shivani
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 02:38 AM
Thanks everyone for helping. The issue was with number of sql queries which can run at a time in servicenow. Increased the number and it started working.
Regards,
Shivani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 12:43 AM
Shivani,
Ankur is partly correct, by default the endpoint expects a JSON payload not XML, so this would be the source of your problem currently.
To fix this you can either
- Tell your middleware team that the endpoint expects JSON not XML and they may be able to make a configuration change to handle this for you
or
- Ask them to add a Content-Type header with value 'application/xml' to the request and this should sort the issue.
Hope this helps,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2022 02:30 AM
Thanks
Will talk to the middleware team and let you guys know the status.
Regards,
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 02:38 AM
Thanks everyone for helping. The issue was with number of sql queries which can run at a time in servicenow. Increased the number and it started working.
Regards,
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 03:27 AM
Can you share what exact configuration change was done?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 10:28 PM