Common errors
Check the API key
The SDK reads the API key fromFIVEMESH_API_KEY.
/developers/api-keys) with the required permissions.
If an export uses keyProfile = "MUGSHOTS", the SDK reads FIVEMESH_API_KEY_MUGSHOTS. Profile names are case-sensitive.
Check Logs setup
- Enable Logs for the selected server in the dashboard before sending events.
- Use a key with
logs:writefor ingestion andlogs:readfor queries. - With a global Developer key, set
FIVEMESH_SERVER_IDto the cfx.re join code. - With a server-bound key, omit that ConVar or make sure it matches the key’s server.
- Check the startup identity message or call
whoami. - Automatic logging is opt-in: set
FIVEMESH_LOGS_AUTOMATIC "true"before starting the SDK. - Keep query windows within seven days and reuse the returned range and filters when paging with a cursor.
Check the path scope
If the API key is scoped to/screenshots, keep uploads and deletes under that path.
Check screenshot setup
Screenshot helpers requirescreenshot-basic.
takeServerImage and confirm the target player is still connected.