Skip to main content

Notifications

Community site session details

Community site session details

Session Id : LbffKxRNf49QL41GIhIrhq
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,966 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Pages - General Discussions

#1
WarrenBelz Profile Picture

WarrenBelz 9 Most Valuable Professional

#2
Rondel Profile Picture

Rondel 6

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 4 Most Valuable Professional

Overall leaderboard