{"title":"Why does a node return error -32015 when I ask for a version 1 transaction?","json_url":"/errors/transaction-version-1.json","answer":"Version 1 is a format for a signed Solana transaction, and a node returns error -32015 when the transaction uses that format and the reader asked for versions only up to 0.","observation":"Seven of our nineteen November 28 examples used version 1. The recorded transaction was already on the chain when the node refused the request, and the node returned it when the reader changed the maximum to 1.","signature":"UFVqNXjJcLhcmd9nUAWypTUu9V8H5JnvHSbdmx2twoo3iXJxHsDuNwFnBpb19wEgusRYhR9kheYxZAmrd3Qfzg8","error":{"code":-32015,"message":"Transaction version (1) is not supported by the requesting client. Please try the request again with the following configuration parameter: \"maxSupportedTransactionVersion\": 1"},"method":"getTransaction","options":{"encoding":"json","commitment":"finalized","maxSupportedTransactionVersion":1},"next_check":"Check that your transaction reader can decode the returned version and the fields it uses before raising the maximum it advertises. Try the same signature with getTransaction and set maxSupportedTransactionVersion to the number 1 in the options.","sources":[{"label":"Agave’s check of the requested version","url":"https://github.com/anza-xyz/agave/blob/27e36edc8ae4a2af48a75fdfdda74b5e369b15c3/transaction-status/src/lib.rs#L499-L529"},{"label":"the node’s error message","url":"https://github.com/anza-xyz/agave/blob/27e36edc8ae4a2af48a75fdfdda74b5e369b15c3/rpc-client-api/src/custom_error.rs#L227-L235"},{"label":"Agave’s test of decoding a version 1 transaction","url":"https://github.com/anza-xyz/agave/blob/27e36edc8ae4a2af48a75fdfdda74b5e369b15c3/transaction-status-client-types/src/lib.rs#L910-L932"}]}