# Troubleshooting

> The real failure modes of sign-in, adding experiences, the SDK, the Cmdr bridge and Open Cloud, with the exact messages you'll see and how to fix each one.

Messages are quoted as Bloxlytics or the Luau modules show them. Game-side messages appear in the server output (the **Output** window in Studio, or the **Developer Console** in a live server, under **Server**).

> **Tip:** For the SDK, the fastest diagnosis is the **Debugger** on the project's **SDK** page, plus `Debug = true` in `Analytics:Start`, which prints every send, retry and configuration load.

## Signing in

**Sign-in cancelled**

You chose to cancel on Roblox's approval page. Choose **Continue with Roblox** again when you're ready.

**Sign-in link expired**

Each sign-in attempt is valid for 10 minutes and can be used once, from the browser that started it. If you took longer, used the back button, or finished sign-in in a different browser, start again.

**Roblox couldn't complete the sign-in**

Roblox rejected or didn't answer the request. Wait a moment and try again; your Roblox account isn't affected.

## Adding an experience

**No experience found for the number I entered**

Bloxlytics tried the number as a Universe ID and as a place ID, and Roblox returned neither. Copy the Universe ID from Creator Hub (your experience → **Copy Universe ID**), or use the number from the game's URL. Every message you can get when adding an experience is listed in [Add an experience](https://docs.bloxlytics.app/projects/add-an-experience#errors-you-may-see).

**I manage the experience but Bloxlytics says it belongs to someone else**

Only the creator and the owner of the creator group are recognised automatically, because Roblox's public APIs don't show group roles or collaborators. Prove access with an Open Cloud API key from your own account that includes the experience. See [Prove you manage it with an API key](https://docs.bloxlytics.app/projects/add-an-experience#prove-you-manage-it-with-an-api-key).

**It's already a project in another workspace**

An experience can only be a project once across Bloxlytics. Ask someone in that workspace to invite you.

## SDK and events

### Nothing arrives

**No warning, and the debugger says Waiting for the first batch**

The SDK only warns about configuration problems. Network failures are retried quietly with backoff (up to 60 seconds between attempts), so a missing setting can look like silence. Check, in order:

1. **HTTP requests are allowed.** Studio → **Game Settings → Security** → **Allow HTTP Requests**, then publish. Without it every request fails before it leaves the server, and the SDK keeps retrying.
2. **You're testing in a live server, or `TrackInStudio = true` is set.** Analytics is off in Studio by default. With `Debug = true` the output shows `Studio session — tracking disabled (set TrackInStudio = true to test)`.
3. **`ApiUrl` is the HTTPS API URL from the SDK page.** Roblox game servers only call HTTPS endpoints.
4. **`Analytics:Start` actually runs**, from a server Script, once.

Turn on `Debug = true` to see `send failed (<status>); retrying in <n>s` for each failed attempt.

**[Bloxlytics] The SDK only runs on the server**

The module was required from a LocalScript or client context. Require and start it from a server Script, such as one in `ServerScriptService`.

**[Bloxlytics] Init/Start called twice; ignoring the second call**

`Analytics:Start` (or `Init`) ran more than once on the same server. The first call wins. Keep one boot script.

**[Bloxlytics] Not started: … Your game keeps running without analytics.**

The configuration passed to `Start` can't be used, so analytics stays off for this server. The reason is in the message:

| Reason | Fix |
| --- | --- |
| pass a configuration table | Call `Analytics:Start({ … })` with a table. |
| this place isn't published, so it has no Universe ID yet; publish it, or set ProjectID to the experience's Universe ID | Publish the place. In an unpublished place, set `ProjectID` to the Universe ID to test. |
| ProjectID `<n>` isn't this experience's Universe ID (`<id>`); leave ProjectID out to use it automatically | Remove `ProjectID`. The SDK uses `game.GameId`. |
| ProjectID must be the experience's Universe ID (or leave it out to use game.GameId) | Remove `ProjectID`, or set it to the Universe ID. |
| WriteKey must start with bxw_ (use the write key, not an Open Cloud or bridge key) | Use the **Write key** from the SDK page. |
| WriteKey must be a string or a Secret from HttpService:GetSecret | Pass the key string or the Secret object itself. |
| ApiUrl must be your Bloxlytics API URL | Set `ApiUrl` to the **API URL** from the SDK page. |

**[Bloxlytics] API rejected a batch (401)**

Bloxlytics didn't accept the key: *Missing project id or key.* or *Invalid project key.* The SDK drops the batch, since retrying won't help. Common causes:

- The write key was rotated. Update the key or the `bloxlytics_write_key` secret and restart servers.
- The secret holds the wrong value, such as the bridge key or an Open Cloud key.
- The project was deleted, or this place belongs to a different experience than the project.

**[Bloxlytics] API rejected a batch (400)**

The whole batch was malformed, or every event in it was invalid. The message and the debugger's **Recent problems** say which field. This usually means the module was modified; download a fresh copy from the **SDK** page.

**[Bloxlytics] Event queue full; dropping oldest events until the API is reachable**

The server couldn't reach Bloxlytics for long enough that 5,000 events queued up. The oldest are dropped first. Check HTTP requests are allowed and the API URL is right. Brief outages are fine: queued events are sent when the connection returns.

### Events are rejected

The debugger's **Rejected events** counts events Bloxlytics refused, and **Recent problems** shows why. Rejected events aren't stored.

| Reason in the debugger | Cause | Fix |
| --- | --- | --- |
| session tracking disabled, economy tracking disabled, purchase tracking disabled, custom events disabled | That category is switched off in **Configuration** on the SDK page | Turn it back on, or stop sending those events |
| blocked | The event name is in **Blocked events** | Remove it from the list |
| Unknown currency "`<name>`" — add it in SDK settings | **Currencies** are configured, and this one isn't among them | Add the currency, or fix the name. The SDK also warns: *Currency "`<name>`" isn't configured in Bloxlytics → SDK settings; events will be rejected* |
| Invalid event name "`<name>`" | Custom event names must start with a letter and use only letters, digits, space and `_ . : -`, up to 64 characters | Rename the event |
| Unknown reserved event `$<name>` | A custom event name starts with `$`, which is reserved | Rename the event |
| `<event>` requires userId | A player event was sent without a player | Pass the player |
| `<event>`: `<field>` `<problem>` | A reserved event's properties failed validation, for example a negative amount | Fix the call's arguments |
| `<event>`: timestamp older than 30 days | Events older than 30 days aren't accepted | None needed; this only affects very old queued events |
| Rejected `<n>` of `<m>` events: … | Some events in a batch were malformed; the rest were accepted | See the field named in the message |

Configuration changes reach servers within 5 minutes, so a fix on the SDK page takes up to that long to show.

### SDK warnings about your calls

These are printed once per kind of problem, and the affected event or property is dropped:

| Warning | Meaning |
| --- | --- |
| TrackEvent: invalid event name `<name>` | See the naming rule above. |
| TrackEvent(`<name>`): player must be a Player | The first argument looked like a player but isn't one. |
| TrackFunnel(`<funnel>`): pass the player so the step can be attributed | Funnel steps need a player. |
| TrackFunnel: funnel and step must be non-empty strings | |
| TrackProgression(player, 'start'\|'complete'\|'fail', path, score?) | The call didn't match this form. |
| Economy: currency must be a non-empty string | |
| `<context>`: dropped invalid property name `<name>` | Property names start with a letter or `_`, up to 40 characters. |
| `<context>`: property `<name>` has unsupported type `<type>` | Values must be strings, numbers or booleans. |
| `<context>`: only the first 32 properties are kept | |
| SetServerTag: invalid tag name …, or at most 16 tags per server | |

Full rules are in the [Event reference](https://docs.bloxlytics.app/sdk/event-reference).

### Data looks wrong

**Concurrent players differ between Realtime and Roblox's page**

When Roblox reports concurrent players, Bloxlytics shows Roblox's number and uses the SDK's heartbeat count only as a fallback. The SDK's count comes from servers running the SDK, so servers that haven't been updated, or Studio sessions, make it differ. See [How data gets in](https://docs.bloxlytics.app/data-sources#when-two-sources-report-the-same-thing).

**Retention or funnels are empty, but Roblox shows numbers**

SDK history starts when the SDK is installed; Bloxlytics can't reconstruct earlier player-level history. Roblox's own retention and funnels are shown separately, if Open Cloud is connected with `universe.analytics:read`.

**Studio test events appear in my analytics**

With `TrackInStudio = true`, Studio sessions send events to the same project as live servers. Turn it off once you've finished testing.

## Cmdr bridge

**[Bloxlytics] Cmdr was passed but the CmdrBridge module wasn't found**

`Analytics:Start` received `Cmdr` but couldn't find a ModuleScript named `CmdrBridge` inside `Analytics` or next to it. Analytics still runs; remote commands are off. Add the module with exactly that name.

**[Bloxlytics] Cmdr was passed without BridgeKey**

Add `BridgeKey`, usually `HttpService:GetSecret("bloxlytics_bridge_key")`.

**[Bloxlytics bridge] Not started: … Remote commands are off.**

| Reason | Fix |
| --- | --- |
| it must run on the server | Start it from a server Script. |
| pass the server Cmdr module as Cmdr | Pass the server-side Cmdr module (with `Registry` and `Dispatcher`), not the client one. |
| BridgeKey must start with bxb_ (use the bridge key, not the write key) | Use the **Bridge key** from the SDK page. |
| BridgeKey must be a string or a Secret from HttpService:GetSecret | |
| ApiUrl is required | |
| the project ID problems listed for analytics | See [Not started](#nothing-arrives) above. |

**[Bloxlytics bridge] registration failed (status)**

The server couldn't register with Bloxlytics. It retries automatically, waiting 5 seconds and doubling up to 2 minutes. A 401 means the bridge key is wrong or was rotated; a status of 0 usually means HTTP requests aren't allowed or the API URL is wrong.

**No game servers with the Bloxlytics bridge are online**

Bloxlytics has no live server that registered the bridge. A server counts as live if it was heard from in the last 90 seconds. Check the server output for the warnings above. If the **Cmdr bridge** setting was off when the servers started, they registered but aren't listening; turn it on and restart them.

**The command bridge is disabled in project settings**

**Cmdr bridge** is off in **Configuration** on the SDK page. Turn it on. Dry runs of macros still work while it's off.

**Only Studio sessions are online**

Studio sessions are never picked automatically. Choose the Studio session explicitly as the target server, or start a live server.

**That server only runs commands as a player who is in it**

The server was started with `AllowSystemCommands = false`, and you aren't in it. Join that server with your Roblox account, or pick the server you're in.

**My command isn't in the list, or isn't recognised**

The command list shows commands servers have reported in the last 24 hours. Servers report about 3 seconds after starting and every 5 minutes after that, so commands registered later appear on the next report. In-game, *"`<name>`" is not a registered command.* means that server's Cmdr registry doesn't have it.

**Your role may only run commands in these Cmdr groups**

**Cmdr groups per role** on the SDK page limits your role to certain groups, and this command is in another. Ask an admin, or run a command from an allowed group.

**The command was rejected in the game**

The game refused it. The result says why:

| Result | Meaning |
| --- | --- |
| The `<group>` group isn't allowed from Bloxlytics (AllowedGroups). | The command's group isn't in the game's `AllowedGroups`. |
| This game only runs Bloxlytics commands as a team member who is in the server (AllowSystemCommands = false). | System-context commands are refused by this game. |
| Rejected by BeforeRun hook: `<reason>` | Your hook returned a reason. For system-context commands, allow them with `CmdrBridge.IsPlatformContext`. Outside Studio, Cmdr blocks all commands if no `BeforeRun` hook exists. |
| Command expired before it reached the server. | Commands expire 60 seconds after they're sent. |
| Kick is disabled in this game's bridge configuration. | `AllowKick = false`. |
| Warnings aren't configured in this game (OnWarn). | Pass `OnWarn` to enable warnings. |
| Announcements aren't configured in this game (OnAnnounce). | Pass `OnAnnounce`. |
| Player is not in this server. | The player left before the command arrived. |

**The game server didn't respond in time**

The command was picked up but no result came back, or no server picked it up before it expired (*Expired before a server picked it up.*). The server may have shut down, or the command is still running beyond the time limit. Check the command's history entry and the server output.

## Open Cloud

**Roblox rejected the API key (missing, invalid or revoked) — HTTP 401**

Roblox doesn't recognise the key: it was revoked, regenerated or mistyped. During a sync this sets the Open Cloud status to **Needs attention**, and automatic sync and **Sync now** stop. Fix the key in Creator Hub and choose **Re-validate**, or **Replace key** with a new one.

**The API key lacks permission for this operation — HTTP 403**

The key is valid but doesn't allow what was attempted. Typical causes:

- The scope isn't on the key. Compare **Permissions by feature** on the **Integrations** page with what you're trying to do.
- The experience isn't in the key's access permissions.
- The request came from an address not in the key's **Accepted IP Addresses**. Add `0.0.0.0/0`.

After changing the key in Creator Hub, choose **Re-validate** so Bloxlytics picks up the new scopes.

**The key has no scopes Bloxlytics can use**

At **Check permissions**, the key had none of the scopes listed in [Scopes and what they unlock](https://docs.bloxlytics.app/projects/open-cloud#scopes-and-what-they-unlock). Add at least one.

**The key is set to all your experiences, but Bloxlytics can only confirm it reaches the experience with …**

A key set to all experiences is confirmed with a read-only call, which needs `universe-datastores.control:list` or `universe.user-restriction:read`. Add one, or name the experience on the key.

**This key is disabled on Roblox / This key has expired**

Enable the key in Creator Hub, or create a new one and use **Replace key**. The **Expires** item on the **Integrations** page is marked **(soon)** when expiry is less than 14 days away.

**Roblox rate limit reached. Try again shortly. — HTTP 429**

Roblox asked Bloxlytics to slow down. Analytics imports already wait and retry on their own; for anything else, wait a minute.

**Connect a Roblox Open Cloud API key in Integrations first**

The feature you opened (such as the DataStore Explorer or a ban) needs Open Cloud, and no key is connected. See [Connect Open Cloud](https://docs.bloxlytics.app/projects/open-cloud).

**Connect Open Cloud before syncing**

**Sync now** only works when the status is **Connected**. If it's **Needs attention**, choose **Re-validate** first.

**Importing analytics history needs an API key with universe.analytics:read**

**Import full history** imports Roblox analytics, which needs that scope. Add it to the key and choose **Re-validate**.

**A sync shows Error or Partial**

Open **Sync history** on the **Integrations** page: each row is one kind of data, and its **Result** column has Roblox's message. **Partial** means the job finished with something unavailable, such as metrics Roblox doesn't return for the experience, more than 5,000 bans, or a key that can't list developer products. [Sync history](https://docs.bloxlytics.app/projects/open-cloud#sync-history) lists the common notes.

**A Roblox analytics metric says Not available**

Roblox's Analytics API, which is in beta, didn't return that metric for your experience; the reason is Roblox's own error. Bloxlytics never estimates a metric Roblox doesn't provide. It's checked again on every sync.

## Still stuck?

Check [What Roblox doesn't support](https://docs.bloxlytics.app/help/limitations) in case what you're after isn't possible, and the [FAQ](https://docs.bloxlytics.app/help/faq).
