Troubleshooting
Solve common problems: no requests appearing, missing bodies or labels, SDK warnings, quota and Not recording, Workers and PHP-FPM issues, MCP connection and tool errors.
No requests appear
Work through this list in order.
- Is the key set where the service runs? The key belongs to one environment (
irk_<org-slug>_<secret>). Check that the environment variable is available in the process that makes the calls, not only in your shell. Without a usableserver_keythe SDK warns once and does nothing. - Is it the right key? A key writes into the environment it was created in. Look at the environment you expect in the app, and check the other environments of the project.
- Was it revoked? Ingest answers
401and the SDK disables itself and warns once. Create a new key in the console. - Can the service reach the API? It must reach
https://<org-slug>.api.inspector.restover HTTPS. A firewall or proxy may block it. Look atinspector.stats()(Node.js) for sent and dropped counts. - Is the client instrumented before its first call? Call
instrument_axios(axios, inspector)once at startup, before requests are made. For Guzzle, the middleware must be on the handler stack of the client that you use. - Is the request excluded? Check
sample_rate,include_hosts,exclude_hosts,include_pathsandexclude_paths. A request that sets its own axiosadapteris not recorded. - Is the time range of the app too narrow? The list shows the selected time range. Try 24 h.
- Is your plan out of requests? See the monthly limit.
- Is the process ending too soon? Short scripts, serverless functions and Workers must flush. See below.
Requests appear late or only partly
- Requests are sent in batches, about once a second. A short delay is normal.
- Short scripts and serverless functions: call
await inspector.close()(orflush()) before the process ends. On Cloudflare Workers usectx.waitUntil(inspector.flush()). See Workers. - PHP: under PHP-FPM data is sent after the response. In CLI scripts and queue workers call
$inspector->close()orflush(). See PHP-FPM. - The app shows requests that were still running as pending. After 10 minutes without an update they show as abandoned.
Bodies are missing
capture_bodymay be'never', or'on_error'(successful requests have no bodies).- Binary bodies are metadata only unless
capture_binaryis on. Bodies abovemax_binary_bytesare not uploaded. See Binary bodies. - A body is marked truncated when
max_body_bytescut it. - “N bodies skipped because of load”: the SDK dropped bodies to protect your application. See Behavior under load.
- Streaming responses (
responseType: 'stream') andFormDatarequest bodies are recorded without a body.
Labels are missing or wrong
- Labels merge per key; later sources win. See Labels.
- In Node.js,
with_labelsfollows the async call tree. If a label is missing in a callback, check that the HTTP call really happens insidewith_labels. WithoutAsyncLocalStorageit applies to the synchronous part only. - Automatic labels (
app_package,app_commit) are not added on runtimes without a file system, such as Workers.
SDK warnings
| Message | What to do |
|---|---|
No usable server_key | Pass the ingest key. |
| The key is invalid or revoked (401) | Create a new key in the console. |
| Batches are being rejected or dropped | Check stats(). A permanent 4xx means the batch is invalid; a 413 is handled by splitting. |
Not recording or quota
If the app shows Not recording, your organization reached the monthly recorded-request limit of its plan. The SDKs stop capturing and check about once a minute. Upgrade the plan or wait for the next period; recording resumes within about a minute. See Plans and limits. Owners and admins are warned by email at 80% and 100%.
If storage is full, the oldest requests are deleted so that the newest can be stored. Shorten retention or reduce what you capture.
Performance
The SDK should not be noticeable. If you suspect otherwise, read inspector.stats().max_block_ms, the longest synchronous stretch the SDK ran on your application thread. Lower sample_rate, use capture_body: 'on_error' or set max_body_bytes.
Sign-in and the app
- “Sign-in did not complete”: your browser may block the console’s cookie. Allow cookies for
console.inspector.restandinspector.restsubdomains. - “Environment not found or you don’t have access”: you are not a member of the organization, or the environment was deleted.
- A shared link does not open: the person needs an account in your organization. See Sharing links.
MCP
| Symptom | Cause and fix |
|---|---|
401 when connecting | No token, an invalid token, or the connection was revoked or has expired. With OAuth, sign in again. With a token, create a new one under MCP access. |
| OAuth redirect is rejected | Redirect addresses must be https or loopback (http://127.0.0.1, http://localhost). |
| The client lists no tools or fewer tools | Tool groups are turned off for the connection. Edit it under MCP access. Tools of disabled groups are not listed. |
tool_disabled | The tool’s group is off for this connection. |
not_found for an environment | The environment does not exist or is outside the connection’s scope. The hint lists accessible ones. Use list_environments. |
environment_ambiguous | Several environments are in scope. Pass environment as org/project/env. |
unknown_filter | A parameter name is wrong. The hint lists valid names. See Shared filters. |
rate_limited | More than 120 calls per minute on one connection. Wait for the number of seconds in the hint. |
truncated: true | The output budget was reached. Use next_cursor, narrow the filters or raise max_output_bytes (up to 32768). |
Values show [redacted] | Masking is on for the connection. This is intended. Edit the connection to turn it off, only for environments without real credentials. |
binary_body or body_not_captured | The body is binary or was not captured by the SDK. See Binary bodies. |
| A cursor is invalid | Cursors are tied to the query. Start again without cursor. |
Still stuck?
Email [email protected]. Include your organization address, the environment, the time of an example request and, for SDK issues, the SDK and runtime versions.
Paid plans include email support; the Free plan includes this documentation.