Skip to content

Troubleshooting

Asking for help? Send the cc_marketplace boot line from the server console and the output of /cc_marketplace_status. Those two answer most questions.

Asking for help? Send the cc_marketplace boot line from the server console and the output of /cc_marketplace_status. Those two answer most questions.

The boot line says CLOSED

The market refuses to trade rather than trade wrongly. The reason is on the boot line.

Server consoleCauseFix
CLOSED: N config error(s)A setting is the wrong type or out of rangeEach error line above it names the exact key (Config.UI.currency ('usd') must be...). Fix it and restart.
CLOSED: database unavailable — is oxmysql started...oxmysql not started first, or cannot connectensure oxmysql above ensure cc_marketplace; check mysql_connection_string.
CLOSED: no framework money system detected (standalone)No ESX / QBCore / Qbox / ox_core / ND running, or it starts after cc_libStart your framework before cc_lib.
CLOSED: cc_lib is older than 1.2.0 (no CC.inventory.getSlot)Old cc_libUpdate cc_lib.
schema statement N failed; the marketplace is DISABLED: ...The database user cannot CREATE TABLE / ALTER TABLEGive it those rights, or run sql/install.sql and sql/migrations/*.sql by hand, then restart.
the database is at schema N but this version knows MYou rolled back to an older build after a newer one migrated the tablesInstall the newer build again. Never edit the schema table by hand.

Errors in the server console

You seeCauseFix
Could not find dependency cc_libcc_lib missing or started afterInstall cc_lib, ensure cc_lib before cc_marketplace.
CC.inventory.getSlot: <inventory> cannot read a player slotYour inventory has no numbered slots (ESX default, core_inventory)Listing needs one that does: see Compatibility. Browse/bid/collect still work.
N claim(s) are stuck mid-collectionThe server stopped between handing something over and recording it/cc_marketplace_claims, check the economy log, then /cc_marketplace_claim <id> reopen (player did not get it) or close (they did). Never automatic, on purpose.
N journal entr(y/ies): money or items were in flightThe server stopped between taking money/an item and recording it/cc_marketplace_journal, check the player's balance and the log, put it right, /cc_marketplace_journal_clear <id>.
REFUND FAILED / ITEM NOT RETURNEDBoth the hand-back and the fallback claim failed (database down)The line carries everything needed to restore it by hand. Fix the database first.
transaction rolled backA race lost cleanly (two buyers in the same instant) or a database errorOne-off: harmless, the player was told and charged nothing. Repeating: check MySQL's error log.
app not added: ... (client F8)lb-phone refused the appUpdate lb-phone; or set Config.Integrations.phone = 'none' and use /marketplace.

In game

SymptomCauseFix
No clerk or blipConfig.Features.peds / blips off, or the terminal is somewhere elseCheck Config.Terminals[...].locations; Config.Debug = true draws the zones.
Clerk floats or sinksGround height at your coordinatesRe-survey with /cc_marketplace_coords standing on the spot.
Crate inside a wall, "too far" at the cratelocker.offset puts it out of reachMove it with locker.offset; keep it within ServerConfig.MaxInteractDistance.locker (the boot line warns if not).
No "talk to clerk" promptNo target resource and the native prompt is off-screen, or a target resource started after cc_libStart your target resource before cc_lib.
"Your inventory is empty" on Sell, but it is notThe inventory cannot be read by slotSee Compatibility.
"That item cannot be sold here"It is in ServerConfig.BlacklistIntended; edit the blacklist to change it.
"The most you can ask for that is X"The per-unit price ceilingServerConfig.Ceilings.items[<item>] or .default. It exists to stop laundering.
Items show an icon instead of a pictureInventory not detected, or pictures elsewhereConfig.Integrations.inventory / imagePath.
Cursor stuck after the panel closedAnother resource took focus at the same momentPress Esc once; /marketplace then close. Report it with the F8 log.
Phone app missingConfig.Access.phoneApp off, phone not lb-phone, or phoneDefaultApp = false (it is then in the phone's app store)See Config → Config.Access, Config.Integrations.
Phone app is blankAn old lb-phone without custom ui appsUpdate lb-phone, or Config.Integrations.phoneMode = 'launcher'.
Won an auction but nothing arrivedItems and payouts are collected, never postedGo to any auction house locker crate; the Claims tab lists what waits.
Outbid but money not backThey were offlineRefunded on their next load-in, automatically.
Text in English despite another languagesetr cc_marketplace_locale "de" missing or set usedUse setr (the panel must read it).

Before you report a bug

  1. The boot line and /cc_marketplace_status.
  2. F8 (client) lines starting with cc_marketplace or cc_lib.
  3. Your framework, inventory and target resource names and versions.

Related: Install, Config, Exports.