Early accessBy invitation, and the SDKs aren't published yet.Ask for an invitation
Skip to Content
Docs

No events arrive

The usual reasons an event doesn't show up, and how to tell which one it is.

Send one event with curl first (see the Quickstart). The answer tells you most of what's wrong.

What you seeWhyWhat to do
200 with "accepted":0 and a rejected listEach line says why it was refusedFix the field it names (see the common line errors). Never resend rejected lines.
401 unknown or revoked keyThe key is wrong, was revoked, or isn't a Lyrelog keyCopy the key again, or make a new one on API keys
403 this key cannot write eventsIt's a Read events keyUse a Send events key (lyr_ing_)
415Content-Type isn't application/x-ndjsonSet the header
429 with plan, limit and usedThe Free month is used upThe SDKs keep the events and send them when the month turns. See Plans and usage
429 with source_limitOne address sent its share of the day with a public keyFrom a server, use a server key (lyr_srv_). Otherwise events resume the next UTC day. See the daily share of one address
429 rate limit for this projectOver 60,000 events a minuteWait for Retry-After
425 with verification_requiredThe project accepts only verified events from that platform, and this batch isn't verifiedThe SDK keeps it and retries. Builds, simulators, emulators and devices that can't prove themselves never get through: turn the option off in Project settings while they matter. See Verified events
503The server is busy or can't reach its storage for a momentRetry the same bytes after Retry-After (the SDKs do)
A 3xxThe endpoint is wrongUse https://ingest.lyrelog.com
Accepted, but not in the dashboardThe dashboard shows one environment: builds you run from Xcode, the simulator, Android debug builds, localhost and Node without NODE_ENV=production send developmentPick development or All environments in the top bar, and All platforms
Accepted, but at the wrong timeThe ts was older than the retention or more than a day ahead, so it was stored at its arrival timeLook at the attribute _lyrelog_ts_clamped, and send the current time
Nothing at all from a Swift appThe SDK sends nothing while consent is .pending or .deniedSee Consent
Nothing at all from an Android appThe SDK sends nothing while consent is PENDING or DENIED, or the endpoint isn't one it acceptsSee Consent and In development and tests
Nothing at all from a React Native or Flutter appConsent is pending or denied, the endpoint isn't one the native SDK accepts, or the app wasn't rebuilt after adding the packageSee Consent for React Native and Flutter, and Flutter's In development and tests
Nothing at all from a JVM serverThe key is empty (start returns false and does nothing), or the process ended before the shutdown hook could sendSee Start and Flush and stop
Events from your server in the wrong countryThe country is the sender's addressSee Countries

What the SDKs say

Each SDK reports its own problems (a wrong endpoint, a refused key, a dropped batch) without crashing your app:

SDKWhere to look
SwiftThe unified log, subsystem com.lyrelog.sdk: Console.app or Xcode's console
AndroidLogcat, tag Lyrelog, at debug level
React NativeThe native SDK's log: the unified log on iOS (Xcode's console), logcat on Android, as above. A missing key or native module is one console.warn in development builds, in Metro
FlutterThe native SDK's log: the unified log on iOS (Xcode's console), logcat on Android, as above. mirrorToConsole: true also prints every event there
JavaScriptconsole.warn lines starting with [lyrelog]
PythonThe lyrelog logger (standard logging)
GoConfig.ErrorLog, else the first problem once on stderr
JVMStandard error, lines starting with lyrelog: , once per process, or Configuration.diagnostics

Still stuck?

Write to hello@lyrelog.com with the project id (in Project settings, Details) and the time you sent the event. Never send a key.