203 Status Code with Not Authentication Content Issue in saveResponseBodyAsAttachment method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 11:21 PM
Hi Everyone,
we have azure workitem integration with incident after parsing the payload we are trying to get attachment from URL provided in it. After authentication with basic auth, during attachment rest "GET" its returning 203 status code with random HTML data.
Need any idea or suggestion on it
Thanks in advance.
#workitem #devops #integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 11:35 PM
you need to know if you are consuming the correct endpoint with the correct details when you use GET method
Did you check any sample API request end point shared by azure team and how it should be consumed and what it returns?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 11:46 PM
Hi @Ankur Bawiskar
the endpoint of attachment are coming in payload that is similar to mentioned in azure documentation also to get the attachments, and we have also verified the authentication as well but no luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2025 12:04 AM
the file which you are getting you said has html data it means the file is not a correct one
Did you check with the azure team by getting into a call with them?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader