Status code 200 but PUT method not updating to record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2024 04:31 AM
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:-
PUT METHOD:-
Thanks for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2024 05:49 AM
Did you try updating it manually using REST API explorer?
Any code change happened in target instance?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2024 05:58 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2024 05:57 AM
Hi,
You are using close_notes field in the payload of PUT method. For Work Notes, use work_notes field.
Thank you,
Palani
Palani