metaplex-foundation / metaplex

A directory of what the Metaplex Foundation works on!
https://metaplex.com
Apache License 2.0
3.32k stars 6.26k forks source link

[Bug]: FetchError: invalid json response body at https://us-central1-metaplex-studios.cloudfunctions.net/uploadFile reason: Unexpected token E in JSON at position 0 #1958

Closed andrewau322 closed 2 years ago

andrewau322 commented 2 years ago

Which package is this bug report for?

candy machine cli

Issue description

I have been getting this error on Devnet for a while. Appreciate if someone can help me out. Thanksss a lot

Screenshot Bug

Command

ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ./~/my-solana-wallet/my_wallet.json~/my-solana-wallet/my_wallet.json -cp ./js/packages/cli/config.json -c example ./Assets

Relevant log output

No response

Operating system

Windows 11

Priority this issue should have

Medium (should be fixed soon)

Check the Docs First

nikkaroraa commented 2 years ago

I've been getting this error as well. Can't mint NFTs since yesterday.

BigPun86 commented 2 years ago

you will need to set the storage to arweave-sol. it works for devnet as well, but u need to have the latest metaplex

nikkaroraa commented 2 years ago

you will need to set the storage to arweave-sol. it works for devnet as well, but u need to have the latest metaplex

This would work only for candy machine, right? Is there a way to fix this error for NFTs created via the "Create" UI in metaplex?

andrewau322 commented 2 years ago

Thanks !!! I changed to nft.storage and it works