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
I don't know how to report validation errors that have occurred when trying to use a controller, as currently only the message “Bad request” is displayed but this does nothing to help solve the problem of why the request could not be processed.
Actually I see that the validation error does appear in the logs of the application, and I was wondering if there is a way to serialize the validation error that appears in the logs so that it is shown in the error message received by the client that uses the controller that gave error.
If this error message could be transmitted, the client consuming the controller would know how to correctly send the body expected by the controller.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I don't know how to report validation errors that have occurred when trying to use a controller, as currently only the message “Bad request” is displayed but this does nothing to help solve the problem of why the request could not be processed.
Actually I see that the validation error does appear in the logs of the application, and I was wondering if there is a way to serialize the validation error that appears in the logs so that it is shown in the error message received by the client that uses the controller that gave error.
If this error message could be transmitted, the client consuming the controller would know how to correctly send the body expected by the controller.
Beta Was this translation helpful? Give feedback.
All reactions