'unable to upload nfts using metaplex

while am uploading Nft asset to Solana network and have this error :

 Beginning the upload for 22 (img+json) pairs
started at: 1646166389888
initializing candy machine
Error deploying config to Solana network. Error: Invalid config, there must be a symbol.
at createCandyMachineV2 
(C:\Users\Desktop\my_project\metaplex\js\packages\cli\src\helpers\accounts.ts:126:11)
at uploadV2 
(C:\Users\Desktop\my_project\metaplex\js\packages\cli\src\commands\upload.ts:133:45)
at Command.<anonymous> (C:\Users\Desktop\my_project\metaplex\js\packages\cli\src\candy- 
machine-v2-cli.ts:228:21)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
upload was not successful, please re-run. Error: Invalid config, there must be a symbol.
at createCandyMachineV2 
(C:\Users\Desktop\my_project\metaplex\js\packages\cli\src\helpers\accounts.ts:126:11)
at 
uploadV2(C:\Users\Desktop\my_project\metaplex\js\packages\cli\src\commands\upload.ts:133:45)
at Command.<anonymous> 
(C:\Users\Desktop\my_project\metaplex\js\packages\cli\src\candymachinev2-cli.ts:228:21)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

I was uploading the assets through CLI using this command:

ts-node metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload  -e devnet -k 
config/solana/devnet.json  -cp config.json  metaplex/assets


Solution 1:[1]

Most of the guides on the web would recommend having symbol: "" but the latest update in Metaplex Candy Machine (0.0.2) actually expects non-empty value here for your NFT's JSON files.

So the fix is simply updating the symbol field to have some value in it, e.g. symbol: "TEST_NFT",

The full explanation is here

Solution 2:[2]

Using metaplex-0.0.2 I could mint nft's with symbol:""

enter image description here

Looks like you dont have have correct config for the nft asset.

{
  "name": "name",
  "symbol": "",
  "image": "2.png",
  "properties": {
    "files": [
      {
        "url": "2.png",
        "type": "image/png"
      }
    ],
    "creators": [
      {
        "address": "21J9Vk6pX34pPW18gLxGj5Am6czmeKC6CEtQChztAuKY",
        "share": 100
      }
    ]
  }
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Valera Tumash
Solution 2 Yilmaz