transaction_malformed error returns a 400 error code and occurs when a client submits a malformed transaction.
There are many ways in which a transaction could be malformed, including:
- You submitted an empty string.
- Your base64-encoded string is invalid.
- Your XDR structure is invalid.
- You have leftover bytes in your XDR structure.
Example Response for a Status Code