3

I have been working with compressing NFTs and I experience custom program errors in transactions like this one

custom program error: 0xbc4

This might not be the most up to date it could be, it has some error handling though:

https://github.com/solana-labs/solana-program-library/blob/master/token/program/src/error.rs

1
  • did you ever figure this out @solanagirl?
    – viksit
    Commented May 3, 2023 at 3:53

1 Answer 1

4

If that's from an Anchor program, the error is this:

#[msg("The program expected this account to be already initialized")]
AccountNotInitialized,

https://github.com/coral-xyz/anchor/blob/master/lang/src/error.rs#L185

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.