- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 12:24 AM
Hi @Community Alums ,
What is the response and status code you are receiving?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 01:01 AM
201
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 01:45 AM - edited 07-23-2025 01:47 AM
Can you use below URL as endpoint and verify again: It worked for me
https://dev211559.service-now.com/api/now/attachment/file
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thanks, GP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 01:53 AM
Hi @G Ponsekar ,
i did try it by changing the url but the "sendAttachements" function not tiggering . see log screenshot.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 02:04 AM
Hi @Community Alums ,
Screenshot is not viewable. Not able to open your screenshot.
sendAttachements function is not triggering means you haven't received "201" status code for incident creation to enter the if statement. or you maybe wrongly passing the parameters for the function
Also, In sendAttachements function set Content-Type as well
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thanks, GP