Common problems
Frequent console messages and symptoms, with the fix for each.
Invalid data/state.json. Restore a verified backup
Cause: data/state.json exists but is invalid (broken JSON or edited by hand). The resource refuses to start so it never overwrites your data.
Fix: stop the server, copy data/state.backup.json (the state before the last save) over data/state.json or restore your own backup, then start again.
Resource will not start: "Start ... before rvt_clothes", "qbx_core is not started" or "Invalid Config..."
Cause: the chosen framework is not started before the resource, or a config.lua value is outside the accepted list (for example Money.Mode = 'framework' on standalone).
Fix: put the framework's ensure (and ox_inventory's, if you use Money.Mode = 'ox_inventory') above rvt_clothes in server.cfg and check the config.lua values. The console names the invalid field.
"Unable to save state; operation cancelled." or storage_error
Cause: the resource cannot write to the data folder.
Fix: give the user running the server write permission on the data folder and check disk space.
/armario does not open
Cause: the player is in a vehicle or dead, the character has not loaded yet (player_missing), or the resource started before the framework.
Fix: leave the vehicle, wait for the character to load and check the ensure order in server.cfg.
Blank interface
Cause: the web/dist folder is missing because the resource was updated without the interface files.
Fix: upload the complete web folder from the original zip and restart the resource.
insufficient_money on every payment
Cause: the money mode or account does not match your server.
Fix: check Money.Mode and Money.Account (bank, cash or money depending on the framework). On vRP, check Creative.Payment and CashItem. In ox_inventory mode, check Money.Item.
Outfit does not come back when joining
Cause: Appearance.RestoreOnSpawn is off, or the resource does not detect that the character loaded. On vRP, Creative.LoadedEvent may not match your base's event.
Fix: enable RestoreOnSpawn and, on vRP, set LoadedEvent to the event your base fires when a character is chosen. If the ped has a different model, the outfit is not applied (model_mismatch).
Skin does not show in the menu
Cause: the skin is not in Config.Skins (extra models need Config.LoadAddonSkins = true and an entry in shared/skins.lua), was not unlocked for the player, or the addon ped is not started.
Fix: register the skin in shared/skins.lua, unlock it with /addskinplayer and make sure the ped resource is started.
REFUND REQUIRED source=... amount=...
Cause: the payment was taken, saving failed and the automatic refund failed too.
Fix: refund the amount to the player manually and check write permission on the data folder.
Marketplace photos are not generated
Cause: Capture.Enabled is off, Capture.Url is empty, screenshot-basic is not started, or the endpoint does not return an HTTPS image link.
Fix: turn on Capture.Enabled, fill in the URL and check that the endpoint answers JSON with url, data.url or attachments[1].url.
Still stuck?
Open a ticket in our Discord support with the [rvt_clothes] console lines, the framework you use, the Money.Mode value and the resource version.
