Open k6c8e4 opened 2 years ago
I have the same issue, can't find a workaround at-least...
Facing the same issue, have been looking for some kind of reference for 2 days. Would really appreciate any help from the community here.
I'm facing the same issue while minting the nft using the code below on "@metaplex-foundation/js": "0.17.4",
metaplex.nfts()
.create({uri:"metadata-url.json", name:"nft-name",sellerFeeBasisPoints: 200, creators:[{address:"creator-1", share:0}, {address:"creator-2", share:70}, {address:"creator-3", share:30}]})
The error:
21:51:25.000
>> Source: Program > TokenMetadataProgram [metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s]
21:51:25.000
>> Problem: The program [TokenMetadataProgram] at address [metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s] raised an error of code [1] that translates to "Failed to pack instruction data".
21:51:25.000
>> Solution: Check the error message provided by the program.
21:51:25.000
21:51:25.000
Caused By: InstructionPackError: Failed to pack instruction data
Facing same issue -
MetaplexError: TokenMetadataProgram > Failed to pack instruction data Source: Program > TokenMetadataProgram [metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s] Problem: The program [TokenMetadataProgram] at address [metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s] raised an error of code [1] that translates to "Failed to pack instruction data". Solution: Check the error message provided by the program. Caused By: InstructionPackError: Failed to pack instruction data
Facing the same issue. It was running yesterday, but it broke today. Not sure the reason here.
I also recently started getting the "TokenMetadataProgram > Failed to pack instruction data" error. Any help would be appreciated
I'm facing the same issue while minting the nft using the code below on "@metaplex-foundation/js": "0.17.4",
metaplex.nfts() .create({uri:"metadata-url.json", name:"nft-name",sellerFeeBasisPoints: 200, creators:[{address:"creator-1", share:0}, {address:"creator-2", share:70}, {address:"creator-3", share:30}]})
The error:
21:51:25.000 >> Source: Program > TokenMetadataProgram [metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s] 21:51:25.000 >> Problem: The program [TokenMetadataProgram] at address [metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s] raised an error of code [1] that translates to "Failed to pack instruction data". 21:51:25.000 >> Solution: Check the error message provided by the program. 21:51:25.000 21:51:25.000 Caused By: InstructionPackError: Failed to pack instruction data
The solution was very silly, but here is what worked. While minting I had 0.0xxx SOL in the wallet, making the balance about 1 sol did the job! The confusing part is when I had no SOL in the wallet it gave me a clear error that I don't have the required lamports but not when I had some which were insufficient.
Hi everyone,
The question is "What I'm doing wrong?" and getting the error code [1] Failed to pack instruction data.
First of all I'm using uploadMetadata method to upload a image file and get the uri, and it's working well as we can see: This is the result of uploadMetadata method, used as shown in readme documentation:
after this step, I'm grabbing uri and use it to call "create" method like this:
where the uri is the result of uploadMetadata.
in this process I'm signing the transaction, and after that I'm getting the error. Transaction when run create:
The error:
Maybe it's a duplicated topic, but I can't find any opened/closed issue on this error code. Thank you a lot, thank you in advance.