anchor
anchor copied to clipboard
Error: AnchorError occurred. Error Code: InstructionFallbackNotFound. Error Number: 101. Error Message: Fallback functions are not supported.
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
can you solve the question?
@springrainroni make sure you have the most up to date IDL...checking this helped me solve this error
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)