Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
aditiroy1710
Frequent Visitor

"The response is not in a JSON format." error:trying to convert xlsx to pdf By power automate button

Hello

While i am trying to convert xlsx  to pdf format by Power automate visuals through power bi, 

I am getting error  like "The response is not in a JSON format."

 

Flow image:

Capture.PNGCapture.PNG

 Capture.PNG

 

Capture.PNG

 

 

Can you please help me on it?

 

Thanks in advance

Aditi

3 REPLIES 3
Anonymous
Not applicable

HI @aditiroy1710,

What type of contents are stored in the file that you used to transform? Are there any data connections to get data from external data sources in your excel sheet? Please share some more detail to help us clarify your scenario and test to troubleshoot.

How to Get Your Question Answered Quickly  

In addition, you can also take a look at the following blog about using power automate to convert excel to pdf if helps:

How to convert and save Excel to PDF in Power Automate Flow and Azure Logic Apps — Plumsail Document...

Regards,

Xiaoxin Sheng

Hi Xiaoxin
No it just an excel file, located in a share point
Capture.PNG

 

Test_new. xlsx:  columns:
Capture.PNG

 

After converting, a pdf will be created in  a sharepoint location:

 

Capture.PNG

 

Here I get this error:
Capture.PNG

 

I go through your link, But couldn't find this on flow:

Capture.PNG

 

But here I have found:

Capture.PNG

 

But this looks little bit unknown to me:

Capture.PNG

 

 

Anonymous
Not applicable

HI @aditiroy1710,

As the error message mentions, it seems like the request is not valid JSON format strings. Have you tried to put them into the JSON formatter to verify the data formats?

In addition, are any specific characters included in the values? (e.g. escape character, Unicode characters) They may also cause issues.
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors