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
Posting text/uri-list to the wrong location results in a 500 [DATAREST-818] #1194
Hi, I'd like to work on this. The 500 occurs because UriListHttpMessageConverter matches text/uri-list requests but returns a CollectionModel instead of the target domain type. When PersistentEntityResourceHandlerMethodArgumentResolver tries to bind that to the entity, it fails downstream. I'll add a type check after reading the body to throw HttpMessageNotReadableException (mapped to 400) instead. PR coming shortly.
Activity
BabalolaBrainiac commentedon May 17, 2026
Hi, I'd like to work on this. The 500 occurs because UriListHttpMessageConverter matches text/uri-list requests but returns a CollectionModel instead of the target domain type. When PersistentEntityResourceHandlerMethodArgumentResolver tries to bind that to the entity, it fails downstream. I'll add a type check after reading the body to throw HttpMessageNotReadableException (mapped to 400) instead. PR coming shortly.
Return 400 Bad Request when request body converter returns incompatib…
Return 400 Bad Request when request body converter returns incompatib…
Return 400 Bad Request when request body converter returns incompatib…