Status code 200 but PUT method not updating to record

chandan15
Tera Contributor

Hi All,

We have an integration setup between two ServiceNow (SNOW) instances: one for the Incident Task table and the other for the SIR (Security Incident Response) Security Response Task.

The development has been tested and is working fine for updating Work Notes, Attachments, and States. However, after a recent cloning, the State updates from the Incident Task to SIT (Security Incident Task) have stopped functioning. Despite this, the flow execution shows a status code of 200.

Here's what we're experiencing:

  • We are using the GET method to validate SIT, and it retrieves the correct data.
  • When we use the PUT method to update, it does not update the record, although the flow execution shows a 200 status code.

The AD account being used has the correct roles, so we have ruled out role-related issues.

Could anyone assist with this issue?

Additionally, I would like to know how we can check any logs before committing updates to any record via integration.

I've attached a screenshot for reference.

GET METHOD:-

chandan15_0-1730723346092.png

 

PUT METHOD:-

chandan15_1-1730723388123.png

 

 

Thanks for the help.

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@chandan15 

Did you try updating it manually using REST API explorer?

Any code change happened in target instance?

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

I tried the Action to send manually, but it failed.

I didn't created REST Message to send this, will try that one.

There no code been changed, however I am moving all from Dev to Testing.

 

Thank you for response Ankur.

palanikumar
Mega Sage

Hi,

You are using close_notes field in the payload of PUT method. For Work Notes, use work_notes field.

Thank you,

Palani

Thank you,
Palani