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
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 385 members 5,881 guests
Please welcome our newest community members: