Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Dataverse/Azure Blob Storage upload json files issue

Like (0) ShareShare
ReportReport
Posted on 19 Nov 2024 15:46:20 by 11
I have set up a standard form in Power Pages for file attachments. However, when I try to upload .json files, the API request fails. It seems that the notes table might be blocking .json files, even though this file extension is not listed among the blocked extensions. Other file types, such as .js, .jpeg, etc., upload without any issues. 

By logging data in Azure Blob Storage (csv file), I was able to trace the error:
Exception: Invalid JSON primitive: object. This error was found at the controller: AzureFileAPI and action: InitializeFileUpload.

Could you please advise if there is any configuration I might be missing or if this could be a known limitation? 

Form configuration:



Categories:
  • Suggested answer
    SaiRT14 Profile Picture
    1,972 Super User 2025 Season 1 on 19 Nov 2024 at 20:02:36
    Dataverse/Azure Blob Storage upload json files issue
    Pls Ensure the .json file is valid and has the correct MIME type (application/json).
     
     

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Pages - General Discussions

#1
WarrenBelz Profile Picture

WarrenBelz 9 Most Valuable Professional

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 9 Super User 2025 Season 1

#3
Jon Unzueta Profile Picture

Jon Unzueta 8

Overall leaderboard
Loading started