> For the complete documentation index, see [llms.txt](https://project-07.gitbook.io/project_07-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://project-07.gitbook.io/project_07-docs/scripts/project07-lootprop-v2/troubleshooting.md).

# Troubleshooting

### ❌ “Player already has a pending reward”

* Fixed automatically when skipItemRemoval = true.
* Make sure sleepless\_lootbox is up‑to‑date (includes cancelPendingReward export).
* If still stuck, restart sleepless\_lootbox.

### ❌ Items not added to inventory

* Ensure your inventory bridge is correct (Config.Inventory).
* The UI must finish the spin – if player closes UI manually, the claim might not fire. The client includes a fallback claimReward after UI closes.
* Check server console for Failed to give ... messages.

### ❌ Discord webhook not working

* Verify the webhook URL is correct and the channel allows embeds.
* Set Config.Debug = true and watch console for HTTP error codes.
* Use /testwebhook to isolate the issue.
* Common error: 400 – malformed JSON (fixed in this version).
