You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Business API: improve handling of some schema errors #32599
In general, schema errors are handled by the API so that the response to the UI is meaningful (eg, contains a useful error message and error path). Eg,
However, some schema errors are improperly handled and do not provide the UI with the expected response. Eg,
(The above was simulated by filing an IA missing the contactPoint object.)
Here is the network response. The UI expects errors[0].error to be the message presently stored in errors[0].context[0].message. I also question why the context object is provided at all.
Vysakh looked at the code with me and is unsure why the response is as above -- it would take more digging and that's why I created this ticket.
The above scenario should never be seen by regular users as this would indicate a code error (vs a data error). However, API users might see the above.
information is helpful for the dev team if bugs arise
when bugs arise we have made a mistake in a release and need to fix that
this case was created through simulation
due to the likelihood of this occurring the intention is to handle in Nuxt
some options when this is picked up are to keep the data which could be shared in a support call but to keep it hidden. E.g. An unexpected error occurred with option to expand when on the call or emailing for support.
Activity
mstanton1 commentedon May 19, 2026
Discussion during refinement:
mruff-aeq commentedon Jun 2, 2026
i was wondering if we wanted to display the issue like this instead: @mstanton1 , in a dropdown menu like this is almost a zero code change
mstanton1 commentedon Jun 2, 2026
@mruff-aeq if this is an almost zero code change we could reconsider it within our MVP. I will move this ticket into the MVP epic.
mruff-aeq commentedon Jun 2, 2026
@mstanton1 , yes currently the error is being rendered as a list, and in a format like this
and to change it to a drop down will be a small change: