cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MrDManohar
Level: Powered On

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
Community Support Team
Community Support Team

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.
MrDManohar
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,101)