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
The documentation and the behavior of the CAP framework do not seem to be entirely consistent in regard to "Error Sanitization".
As a current workaround, if I want to display an error message in the frontend, I always set the http code to 4xx instead of 5xx, even if this is not actually correct.
Best regards,
Nico
The text was updated successfully, but these errors were encountered:
is there any update on this? Currently working on some error handling, where I want the returned errors not to be sanitized, and it's still unclear how this is done properly.
Hi @renejeglinsky,
I would just like to use this issue to reiterate the problem already described by @gregorwolf in the SCN community.
https://community.sap.com/t5/technology-q-a/incorrect-documentation-regarding-quot-error-sanitization-quot/qaq-p/12710155
The documentation and the behavior of the CAP framework do not seem to be entirely consistent in regard to "Error Sanitization".
As a current workaround, if I want to display an error message in the frontend, I always set the http code to 4xx instead of 5xx, even if this is not actually correct.
Best regards,
Nico
The text was updated successfully, but these errors were encountered: