Rest API receiving data but not sending success back

Shivani29
Mega Guru

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

1 ACCEPTED SOLUTION

Shivani29
Mega Guru

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

View solution in original post

19 REPLIES 19

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

what type of API you have provided?

So once data is received in ServiceNow from middle ware are you not sending any response to middle ware application?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

This integration was already in the system and not sending any response manually. No Rest Message is created as well. It is just that they are sending data and data gets saved in table as we provided rest explorer api url.(https://<instance url>/api/now/table/{tableName}). Then there is a business rule which is working to create a new ITSR accordingly.

Regards,
Shivani

 

Hi,

then it's a OOB table API

ServiceNow does send response for OOB table API

are they not getting it?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

No they are not getting it. Below is the error and info what they are getting:

 

find_real_file.png