Identify the type of failure before making changes
An inventory backup must be readable JSON with version 1 and an array of item objects. If the file was copied from a message, check whether the last bracket was lost or quotation marks were changed. Work on a copy and keep the source export. A truncated file should be re-exported if the original inventory is available.
Check types and likely duplicate identities
If it is readable JSON, look for quantities written as true or false, a missing price, an invalid currency code, or a blank series. A full-width code and its ordinary-width version may normalize to the same identity, even if they look different in the text editor. Reconcile their stock before keeping one entry. A rejected file should leave the saved list intact. Check an existing item before trying a corrected copy.
Separate syntax repair from a valid stock decision
If a structured file opens normally but two pieces collapse to the same normalized identity, work out the correct stock count from the original list or packaging first. Renaming one of the two entries just to pass validation can create phantom inventory. If the backup appears truncated, do not invent fields or assume the final record was the only missing entry.
When a repaired copy passes the importer, check a critical item before confirming replacement and preserve the previous destination export. An empty or apparently small restore can be useful for a deliberately scoped list, but it is a poor substitute for a lost full export.
Diagnose the import at validation, confirmation and persistence
An unreadable file fails before replacement can begin. A readable file can still fail the version, record or duplicate identity checks. Cancellation happens later and should leave the list intact. If a valid replacement appears to run but is missing after reopening, check the browser profile and site storage settings rather than rewriting the export as a new file format. Before experimenting, export the live list. If the source is a different version or an unrelated inventory file, use a compatible CHROMAVELI version 1 backup rather than changing one number and hoping the record fields match.
Locate the earliest failure using the tool’s message
A JSON reader and an inventory importer answer different questions. The first asks whether the file follows the JSON grammar. The second asks whether that data has the version and item fields CHROMAVELI expects. Finally, the browser must commit the accepted rows to its storage. Start with a separate copy of the original export and note the exact message the inventory displays. Re-export from the source browser when it is still available. That preserves the complete record far more reliably than filling gaps in a damaged copy.
If the message asks for readable JSON, inspect the copy as plain text. A browser download might have saved an HTML sign-in or error page under a similar name. A file beginning with an HTML tag or a text message is not an inventory export. Structural signs of damage include a missing closing bracket after a pasted list and typographic quotes used where JSON requires ordinary double quotes. If the file came from a messenger or email, compare its byte length with the original attachment rather than trusting a quoted excerpt. A truncated export can omit more than the final row, so closing the last bracket does not establish that the stock is complete.
If the tool asks for a version 1 backup, check the top-level object. For this release the exporter writes version as the number 1 and stores rows under items, which must be an array. A spreadsheet or a plain array of product names cannot be imported through this route. Changing a version number without verifying the layout only hides the diagnostic clue. Keep the original file while you reconstruct a valid record in the tool if the foreign source is the only surviving copy.
Check the record and the identity separately
A representative version 1 item can use brand Example, series Studio, color HB, currency USD, count 2 and price 1.50. The item fields are named brand, series, color, currency, count and price. The exporter also stores an id, which the tool derives from the identity fields. The importer checks that required labels are present, that currency has a three-letter code form, that quantity is an allowed whole number and that price is a valid nonnegative amount. A blank price, a negative count, a text flag where a number is expected or a decimal quantity is a record problem.
The duplicate check happens after identity normalization. In a normal example, the code HB and the full-width form HB under the same brand, series and currency resolve to one identity. Different casing alone will not preserve separate items. If this pair came from two lists, inspect the packaging or the original exported list before choosing its quantity. Two rows might describe three independent units, or they might be snapshots of the very same two units at different dates. Automatic addition would double the second situation. The same named item in two different currencies can have distinct records; retain that distinction when it represents actual data.
A syntactically valid file with an empty items array can describe an intentionally empty inventory. It can also be the wrong file to use. Because confirmation replaces the existing set, compare a critical item and the expected record count before using any reconstructed list. On a clean disposable profile, compare the imported inventory with the underlying records rather than checking only for the absence of an error message.
Distinguish a rejected file from a storage failure
If validation fails, an existing record should remain. If validation succeeds but you cancel the confirmation, the destination stays as it was. If confirmation succeeds and nothing persists after reopening, check that the profile and origin match and consider the browser’s storage settings. Preserve the old destination export before changing those settings or clearing any site data. In case of uncertainty, repeat on a clean profile with a small known valid export and confirm the result after reload.
Record the failure stage alongside the filename and the evidence used to recover it. Syntax repair is sufficient only when you can still account for every source record. Duplicate reconciliation requires an independent decision about quantities. A storage problem requires checking the browser and site address. Keep a dated valid result once a test restore reproduces the critical quantities, prices and missing-stock entries.
| Observation | Investigate next |
|---|---|
| Readable-JSON error | Original export, truncation, plain-text format |
| Version error | Top-level numeric version and items array |
| Item or duplicate error | Required fields and normalized identity |
| Accepted then missing after reload | Confirmation, profile, origin and storage |