# Troubleshooting

## Tablet does not open

* Verify `qbx_core`, `qb-core`, or `es_extended` is started **before** `wlabs-tablet`.
* If item mode is enabled, confirm the inventory item matches `Config.ItemName`.
* Check `Config.UseItem`, command, and keybind settings in `config.lua`.

## Tablet profiles or settings are not saving

If tablet profiles, wallpapers, gallery/app storage, or saved settings are not saving after a restart, the JSON files in `wlabs-tablet/data/` may be corrupt.

1. Stop `wlabs-tablet`.
2. Delete `wlabs-tablet/data/tablet_storage.json`.
3. Delete `wlabs-tablet/data/wlabs_tablet_email_domain.json`.
4. Start `wlabs-tablet` again.

Only do this when the data files are broken or profiles are not saving. Deleting these files resets the file-based tablet storage and email-domain state, but it does not drop your `wlabs_tablet_*` database tables.

## Camera upload fails

* Confirm `Config.Camera.Upload.method` is `fivemanage` or `fivemerr`.
* Confirm the matching API key convar exists in `server.cfg`.
* Restart the resource or server after changing convars.

## Mail login or send issues

* Confirm the SQL import completed successfully.
* Confirm email domain configuration (`Config.EmailDomain` or `wlabs_tablet_email_domain` convar).
* Confirm the target mail account exists when sending player-to-player mail.

## Video calls not connecting

* Both players need a valid mail/contact flow for invites.
* Targets must be **online**; airplane mode and notification prefs can block invites.
* If using voice channels, confirm `pma-voice` is running.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://w-labs.gitbook.io/w-labs-docs/scripts/wlabs-tablet/troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
