Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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

  • PonceletSeba Profile Picture
    81 on at
    Re: Unsupported format to JSON, False notification of included media.

    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.

  • akselmb Profile Picture
    65 on at
    Re: Unsupported format to JSON, False notification of included media.

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

     

  • PonceletSeba Profile Picture
    81 on at
    Re: Unsupported format to JSON, False notification of included media.

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

  • PonceletSeba Profile Picture
    81 on at
    Re: Unsupported format to JSON, False notification of included media.

    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

  • Verified answer
    akselmb Profile Picture
    65 on at
    Re: Unsupported format to JSON, False notification of included media.

    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?

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,609 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard