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

Converting HTML file from SharePoint to PDF using OneDrive converter: BadRequest 400 "The response is not in a JSON format."

I'm trying to convert an HTML file from a SharePoint doc lib to PDF using the OneDrive Convert file connector but getting a

BadRequest 400 with message: "The response is not in a JSON format."  

 

Is this feasible? do I need to first convert the file to JSON then do the conversion to PDF? Any tip is appreciated

 

msflo_convert2.png

 

msflo_error400_output.png

2 REPLIES 2
Frequent Visitor

It looks like in your convert file - to PDF you are using the id of your SP list instead of the id in OneDrive flow create file.png

 

 

@Annabelle  yes I'm creating the temp html file with the SharePoint connector instead of OneDrive connector.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (74,815)