Short answer: The body of the submit request is not a signed transaction in msgpack. A JSON body triggers this decoder error.
msgp: attempted to decode type "int" with method for "map"
Source: POST /v2/transactions, HTTP 400, captured against a public TestNet node on 2026-12-03.
Captured by posting {"a":1} as JSON to /v2/transactions. The first byte of the JSON text was read as a msgpack integer where a map was expected.
signTxn(), not JSON, not base64 text and not hex.Wording can change between node versions. All API errors · errors.json · transaction errors · SDK errors · costs