203 Status Code with Not Authentication Content Issue in saveResponseBodyAsAttachment method

bhanupr
Tera Contributor

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 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@bhanupr 

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.

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

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

@bhanupr 

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?

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