Schema validation error with "Parse JSON" action does not show details
Closed this issue · 5 comments
When using Parse JSON action and it fails due to schema validation I can't see any error details on which property the validation fails.
Error message used to be more detailed in previoys versions of Logic Apps UI.
The generic error message I get is:
ValidationFailed The schema validation failed.
Hi @janikarkkainen thanks for raising this issue.
Could you please provide us an example in which the Parse JSON action shows a more explicit error? Maybe if we can get your workflow json or an example of the expected schema vs the schema that got into the action.
I gave it a try and for now the error looks the same. You can click in Show raw outputs
for a more detail error
Hi @janikarkkainen thanks for raising this issue. I will close this issue as this is expected by design. As we stated on the PR #5723
As for now we are relying on the schema of every action itself to show the outputs and inputs. For now you can keep looking at the more detailed outputs in the Show raw outputs
section
Hi, thanks for resolving this.
I do see detailed error message when clicking "Show raw outputs", which was not expected because the output area says "No outputs", which is a bit misleading. See my screenshot below.
Btw, for me the Raw outputs Window opens in a separate blade instead of how it looks in your screenshot.
Hi @janikarkkainen thanks for confirming that it works. My second screenshot is from old designer. Showing the outputs in a separate blase its the expected behavior.
Hi, I understand that it is the expected behavior and my problem has been solved.
However, it's still a bit misconfusing because it explicitly says "No outputs" while there is an output when clicked "Show raw outputs".