Skip to main content
Each section below covers one family of symptoms. Find the symptom, read the cause, and do what the last column says. The status codes are in one table at the end.
If this page does not cover your case, write to support@grainql.com.

First checks

  1. Open the developer tools of the browser (F12, or Cmd+Option+I) and read the Console tab.
  2. Type window.GrainTag in the console. If it returns undefined, the Grain Tag did not load.
  3. Open the Network tab and look for failed requests to clientapis.grainql.com.
  4. Set debug: true in the SDK configuration. Then the SDK logs each event and each send.
Remove debug: true before you deploy.

Authentication (401)

Network

Server (5xx)

The SDK retries a failed send. Read Errors and retries.

Rate limit (429)

The limits per plan are in one table. Read Query API.

Validation (400)

Script not loading

Events missing in the dashboard

CORS

An origin is a scheme and a host, with a port when the port is not the default:
https://*.example.com allows every subdomain.

TypeScript

Performance

Read Performance.

Platform-specific

Status codes