cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Need Help: Corrupted image in Http Response while uploading to Azure Dev Ops using Flow

Screenshot_1.PNGScreenshot_2.PNG
 

Http response body contains the attachment URL while accessed, attachment is is corrupted.

here is the response body: 

{
"id": "5cb34397-89f2-421c-b19a-e0eaaa8f8555",
"url": "https://xxx/yyy/_apis/wit/attachments/5cb34397-89f2-421c-b19a-e0eaaa8f8555?fileName=Kanban.png"
}
Any help would be really appreciated.
2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Need Help: Corrupted image in Http Response while uploading to Azure Dev Ops using Flow

Hi @MrDManohar ,

 

Have you specified a dynamic content file.name in the Button trigger?

Please make sure the “file.name” you were using in the Relative URI field do return a proper value.

If it doesn’t return correct content type, the file will be corrupted.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Need Help: Corrupted image in Http Response while uploading to Azure Dev Ops using Flow

Here is my Http Request. Can you please correct me, with right code/example as I am very new to MS flow? One more thing: this is working perfectly for txt files, with out content type as Octet stream, not for images. Thanks in advance.

HttpRequest.PNG

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (4,053)