You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-05-18T17:18:34.488Z Error: Not enough funds to send data
at ChunkingUploader.runUpload (/home/ubuntu/api/node_modules/@bundlr-network/client/build/common/chunkingUploader.js:241:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async NodeUploader.upload (/home/ubuntu/api/node_modules/@bundlr-network/client/build/common/upload.js:36:16)
at async /home/ubuntu/api/node_modules/@metaplex-foundation/js/dist/cjs/plugins/bundlrStorage/BundlrStorageDriver.cjs:88:11
at async Promise.all (index 1)
at async BundlrStorageDriver.uploadAll (/home/ubuntu/api/node_modules/@metaplex-foundation/js/dist/cjs/plugins/bundlrStorage/BundlrStorageDriver.cjs:96:12)
at async Object.handle (/home/ubuntu/api/node_modules/@metaplex-foundation/js/dist/cjs/plugins/nftModule/operations/uploadMetadata.cjs:51:23)
at async Disposable.run (/home/ubuntu/api/node_modules/@metaplex-foundation/js/dist/cjs/utils/Disposable.cjs:26:14)
at async Object.create [as mintAndTransferNft] (/home/ubuntu/api/solana/mint_and_transfer_nft.js:37:20)
at async /home/ubuntu/api/app/solana/mint_and_transfer_nft_after_purchase.js:3:23
Somo images fail while others dont, cannot find the reason why, could i get some help?
2023-05-18T17:18:34.488Z Error: Not enough funds to send data
at ChunkingUploader.runUpload (/home/ubuntu/api/node_modules/@bundlr-network/client/build/common/chunkingUploader.js:241:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async NodeUploader.upload (/home/ubuntu/api/node_modules/@bundlr-network/client/build/common/upload.js:36:16)
at async /home/ubuntu/api/node_modules/@metaplex-foundation/js/dist/cjs/plugins/bundlrStorage/BundlrStorageDriver.cjs:88:11
at async Promise.all (index 1)
at async BundlrStorageDriver.uploadAll (/home/ubuntu/api/node_modules/@metaplex-foundation/js/dist/cjs/plugins/bundlrStorage/BundlrStorageDriver.cjs:96:12)
at async Object.handle (/home/ubuntu/api/node_modules/@metaplex-foundation/js/dist/cjs/plugins/nftModule/operations/uploadMetadata.cjs:51:23)
at async Disposable.run (/home/ubuntu/api/node_modules/@metaplex-foundation/js/dist/cjs/utils/Disposable.cjs:26:14)
at async Object.create [as mintAndTransferNft] (/home/ubuntu/api/solana/mint_and_transfer_nft.js:37:20)
at async /home/ubuntu/api/app/solana/mint_and_transfer_nft_after_purchase.js:3:23
Somo images fail while others dont, cannot find the reason why, could i get some help?
const imageBuffer = Buffer.from(params.nft.imageConfig.base64, 'base64');
const file = toMetaplexFile(imageBuffer, params.nft.imageConfig.name);
const upload = await nftsModule.uploadMetadata({
name: params.nft.title,
description: params.nft.description,
image: file,
symbol: params.project.symbol,
seller_fee_basis_points: 500,
external_url: params.project.website
attributes: params.nft.attributes,
properties: {
category: "image",
files: [
{
uri: file,
type: "image/png"
}
],
creators: [
{
address: params.project.address,
share: 100
}
]
}
});
EDIT: This error happens on devnet and the account that is issuing the nft has at least 15 solana. Havent tried this in mainnet
The text was updated successfully, but these errors were encountered: