Solana web3.js expects the serialized transaction to include 0-padded placeholder signatures, otherwise deserialization will failed. If you are using a different library to construct the serialized transaction, such as the Go SDK, please make sure to include the placeholder signatures.
Typescript Example with Solana web3.js
First install the Solana web3.js SDK. You can find the full documentation here: