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:
Pls Ensure the .json file is valid and has the correct MIME type (application/json).
Was this reply helpful?YesNo
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.