Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
18 lines
656 B
Plaintext
18 lines
656 B
Plaintext
jackson-databind 3.1.8, spring-boot 4.2.0
|
|
|
|
== client sends broken JSON
|
|
> POST /orders {"id": 1, "quantity": }
|
|
< 400 {"error":"Unexpected character ('}' (code 125)): expected a value"}
|
|
|
|
== client sends a wrong type
|
|
> POST /orders {"id":1,"quantity":1,"lines":[{"sku":"A","qty":"two"}]}
|
|
< 400 {"error":"Cannot deserialize value of type `int` from String \"two\": not a valid `int` value"}
|
|
|
|
== stored data is corrupt (server problem)
|
|
> GET /orders/stored
|
|
< 400 {"error":"Unexpected end-of-input within/between Object entries"}
|
|
|
|
== response cannot be serialised (server problem)
|
|
> GET /orders/unwritable
|
|
< 400 {"error":"lazy collection not initialised"}
|