samuelvanderwaal / metaboss

The Metaplex NFT-standard Swiss Army Knife tool.
Apache License 2.0
689 stars 220 forks source link

Update Metadata not working #249

Closed wgmidiot closed 1 year ago

wgmidiot commented 1 year ago

Error: missing field 'name' at line 36 column 1

Haven't used this in a long time tbh, not sure if this has anything to do with Metaplex standard updates or anything.

Thanks.

Screenshot 2023-02-17 at 5 35 50 PM

I'm running this command:

metaboss update data --account 8G6tHU9SMqRyCaXcu9UGhYeMc51hpTcRSzYdMT97QsGg --new-data-file ./374.json

Using the 374.json file pictured above.

I should mention, if i put name at line 36, it simply moves onto output this error:

Error: missing field 'symbol' at line 37 column 1

samuelvanderwaal commented 1 year ago

The expected data format can be found here: https://metaboss.rs/update.html#update-data

If you only need to update a single field you might find the individual update commands easier to use, e.g.:

metaboss update name -a 8G6tHU9SMqRyCaXcu9UGhYeMc51hpTcRSzYdMT97QsGg --new-name "Ghostface #374"