What it found
A note text containing a zero byte, which is valid JSON and a valid string:
$ curl -s -X POST localhost:8090/api/notes -H 'Content-Type: application/json' -d '{"text":"a\u0000b"}'
{"error":"ERROR: invalid byte sequence for encoding \"UTF8\": 0x00 (SQLSTATE 22021)"} HTTP 500
The api passes the text to Postgres, which refuses zero bytes; the document promises 201 or 400, and the api answers 500 with the database's error message.
An id that is a valid integer by the document:
$ curl -s localhost:8090/api/notes/1234567890123456789
{"error":"method not allowed"} HTTP 405
The code accepts ids of at most 18 digits; this one has 19, falls through to "method not allowed", and gets 405 where the document says 404.
TRACE requests are answered 405 without an Allow header naming the methods that do work, which RFC 9110 requires.