cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rich2
Resolver I
Resolver I

Convert to PDF Onedrive Status code 200

My Flow converts a word document to a PDF in Onedrive.  This is the section of the flow that's not throwing an error but is giving a status of 200 based HTTP status codes for REST API call - Azure Cognitive Search | Microsoft Docs on this documentation it should give a code of 201. How do I make it produce a PDF?
In Editor:

Rich2_0-1654091924446.png

In Run History:

Rich2_1-1654092086328.png

Raw inputs

Rich2_2-1654092197726.png

Raw outputs:  To keep this post short I  truncated all the data in body section. I think that's where the issue may be. 

Rich2_3-1654092382680.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Rich2
Resolver I
Resolver I

I over complicate this. The 200 status was fine. In the last step of saving the file to SharePoint or Ondrive you need to get the contents of the converted file. This is what that step should look like. File Content - File content

Rich2_1-1654111090855.png

 

View solution in original post

1 REPLY 1
Rich2
Resolver I
Resolver I

I over complicate this. The 200 status was fine. In the last step of saving the file to SharePoint or Ondrive you need to get the contents of the converted file. This is what that step should look like. File Content - File content

Rich2_1-1654111090855.png

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,603)