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
When invoking REST API (offeredResource, and probably others) if required header is not sent, it will throw error and in RESTExceptionHandler class, this will be handled by handleGeneralException, which will result in HTTP status 500.
It should be HTTP status - 400 - bad request.
org.springframework.web.bind.MissingRequestHeaderException: Missing request header 'resource' for method parameter of type URI
When new handler is implemented, update also documentation where we describe behavior of those interfaces.
The text was updated successfully, but these errors were encountered:
When invoking REST API (offeredResource, and probably others) if required header is not sent, it will throw error and in RESTExceptionHandler class, this will be handled by handleGeneralException, which will result in HTTP status 500.
It should be HTTP status - 400 - bad request.
org.springframework.web.bind.MissingRequestHeaderException: Missing request header 'resource' for method parameter of type URI
When new handler is implemented, update also documentation where we describe behavior of those interfaces.
The text was updated successfully, but these errors were encountered: