web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unsupported format to ...
Power Apps
Answered

Unsupported format to JSON, False notification of included media.

(0) ShareShare
ReportReport
Posted on by 81

Dear Power Apps Community,

 

Whilst building an application I ran into following problem:

 

I am using the provided code to convert a table (ColNewLabels) to a JSON for further processing, the varRecordsPrint returns this notification: value passed to JSON function contains media and cannot be processed. (The value does not contain any media/attachements.)

 

Set(varRecordsPrint; CollectionNewLabels);;
Set(VarFormatJson; JSON(varRecordsPrint;JSONFormat.IndentFour));;

 

 Here is the data used:

Schermafbeelding 2023-08-02 094846.png

Legenda in English:
Eén tekstregel = 1 line of text
Datum en tijd = date&time

Persoon of groep = person or group

Getal = number

 

Any idea's?

 

Kind regards,

 

Sébastien

Categories:
I have the same question (0)
  • Verified answer
    akselmb Profile Picture
    65 on at

    Hi @PonceletSeba 

     

    Could it be that the person/group-columns contain images/profile pictures

    ____________________________________________________

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up. perhaps?

     

  • PonceletSeba Profile Picture
    81 on at

    Hi,


    Thanks for replying,

     

    The person/group columns are not being used. I've also tried excluding them by using DropColumns(), didn't work either.

     

    Kind regards

  • PonceletSeba Profile Picture
    81 on at

    @akselmb on further investigation this seems to be the issue after all. Thanks.

  • akselmb Profile Picture
    65 on at

    No problem. You could also try to swap your format to JSONFormat.IncludeBinaryData and see if that helps.

     

  • PonceletSeba Profile Picture
    81 on at

    Ended up excluding the columns and using following properties:

    Set(varRecordsPrint;DropColumns(CollectionNewLabels;"Author";"Editor";"Modified";"Created"));;
    Set(VarFormatJson; JSON(varRecordsPrint;JSONFormat.IndentFour & JSONFormat.IgnoreUnsupportedTypes));;

     

    Thanks again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard