-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instruction not supported for ProgrammableNonFungible assets [0x99] #78
Comments
The error you are running into is here. See the note above that says that these legacy handlers do not work for pNFTs or Token 2022 tokens; the latter seems to be your issue. You will need to use one of the new The error message is a bit incomplete and should probably mention |
Thanks for pointing me in the right direction, was just a misleading error message.
Sticking to UncheckedAccount. |
You need to use an |
Yeah, updated my comment. PR has been created here, thanks again. |
I'm trying to initialize metadata for my FUNGIBLE token (no edition + has decimals), but whenever I call the instruction, I get the 0x99 error message, for some reason, metadata thinks my token is a ProgrammableNonFungible token.
Here's the transaction log
"Program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s invoke [2]"
"Program log: Instruction not supported for ProgrammableNonFungible assets"
"Program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s consumed 6199 of 313203 compute units"
"Program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s failed: custom program error: 0x99"
Here is my initializer code
If it's any difference, my mint is already created and initialized, it also has token2022 extensions attached to it
This works however if the mint wasn't already created. Is there something I'm missing? how do I create a metadata?
The text was updated successfully, but these errors were encountered: