ucanto icon indicating copy to clipboard operation
ucanto copied to clipboard

Malformed payload results in handler execution error, not bad request (400)

Open alanshaw opened this issue 1 year ago • 1 comments

Decoding input payload throws and is caught resulting in a handler execution error.

This could be returned as a HTTP response (similar to what happens when calling accept) with status 400 (bad request) to communicate the issue to users a bit better.

alanshaw avatar Aug 05 '24 09:08 alanshaw

@alanshaw I have addressed this issue can you please take a look

Crosstons avatar Apr 01 '25 11:04 Crosstons