Skip to main content
Community site session details

Community site session details

Session Id : 733kAQvu/wSaKMgjX+39u5
Power Apps - Building Power Apps
Answered

Unsupported format to JSON, False notification of included media.

Like (0) ShareShare
ReportReport
Posted on 2 Aug 2023 07:50:49 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 02 Aug 2023 at 08:19:01
    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 02 Aug 2023 at 08:16:07
    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 02 Aug 2023 at 08:12:37
    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 02 Aug 2023 at 08:06:22
    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 02 Aug 2023 at 08:03:07
    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading started
Loading complete