Is there a way to validate the JSON structure before parsing it in Power Apps to prevent this error?

Responsive Ad Header

Question

Grade: Education Subject: Support
Is there a way to validate the JSON structure before parsing it in Power Apps to prevent this error?
Asked by:
100 Viewed 100 Answers

Answer (100)

Best Answer
(278)
Power Apps doesn't have built-in JSON schema validation. However, you can use a flow (Power Automate) to validate the JSON against a schema before passing it to Power Apps. The flow can return an error message to Power Apps if the JSON is invalid, preventing the parsing error.