Posts  / #POST-210604
REDDIT

Crypto bot Solana

Hello, I’ve created a trading bot for solana, and sometimes the transaction works when buying and other times it fails. Here is my link for one of the transactions, I get this error which I don’t know what it means. Is there anyone who can help me and tell me what I’m doing wrong please? Program Error: "Instruction #2 Failed - custom program error: 38"

https://solscan.io/tx/5rn9fCVdEEJuhnJ6aZsSUadg3Hh266Xgn7maytfb2eQRNgLev6PywBxWogZ8wp2ZsiBBzx6X4rFPUSERqgRmkAxN?cluster=mainnet