anchor icon indicating copy to clipboard operation
anchor copied to clipboard

Error: AnchorError occurred. Error Code: InstructionFallbackNotFound. Error Number: 101. Error Message: Fallback functions are not supported.

Open springrainroni opened this issue 2 years ago • 2 comments

Error: AnchorError occurred. Error Code: InstructionFallbackNotFound. Error Number: 101. Error Message: Fallback functions are not supported. I just want to mint nft. It shows me error in invoke method. When i remove invoke function from smart contract it executes. Please help me to get rid of this problem. Code github repo- https://github.com/springrainroni/nft_anchor.git

springrainroni avatar May 05 '22 03:05 springrainroni

can you solve the question?

yangyangpig avatar Aug 01 '22 16:08 yangyangpig

@springrainroni make sure you have the most up to date IDL...checking this helped me solve this error

philetos avatar Aug 11 '22 12:08 philetos

This error means the instruction you are trying to invoke does not exist on-chain. Possible reasons why:

  • The program was built but not deployed on-chain
  • The IDL could be out of date(either local or on-chain)
  • The instruction name could be invalid due to case conversion(https://github.com/coral-xyz/anchor/issues/736)

acheroncrypto avatar Sep 22 '23 15:09 acheroncrypto