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

Mainnet Candy Machine Number of items (11) do not match cache items (500). Item number in the config should only include asset files, not the collection file. #2292

Closed 3alola closed 1 year ago

3alola commented 1 year ago

PS C:\Users\3alola\Desktop\Solana\metaplex-master\Carsolautofinal\MyProject> sugar deploy

Error running command (re-run needed): Number of items (11) do not match cache items (500). Item number in the config should only include asset files, not the collection file. PS C:\Users\xxx\Desktop\Solana\metaplex-master\Carsolautofinal\MyProject> sugar deploy [1/2] Loading candy machine [1/2] Loading candy machine Candy machine ID: 7PJcK16etzbS8T179tGGkU5XQ8Qi87nv37xGiGFxxxxx

[2/2] Writing config lines Sending config line(s) in 29 transaction(s): (Ctrl+C to abort) [00:01:34] Deploy failed ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0/29 Error running command (re-run needed): Command failed due to the following reason(s): • Candy Machine: IndexGreaterThanLength: Index greater than length • Candy Guard: DataIncrementLimitExceeded: Exceeded account increase limit

samuelvanderwaal commented 1 year ago

The error message is giving you a strong hint:

Error running command (re-run needed): Number of items (11) do not match cache items (500). Item number in the config should only include asset files, not the collection file.

However, this kind of issue is better for Discord where you can get help troubleshooting it. If you find an actual bug in Sugar or Candy Machine please open an issue on those respective repos: