Troubleshooting
Events are never sent
- Check consent:
client.getConsentStatus()must be'opted-in' - Check
disabled: falsein your config - Enable
debug: trueand watch the console - On React Native: ensure
react-native-get-random-valuesis the first import
Events are missing properties
- If
allowedPropertiesis set, all other keys are stripped - Check
deniedPropertiesfor accidental matches - PII patterns (email, phone, IP, credit card) are redacted automatically
Queue grows but never empties
- All adapters are failing — check network and endpoint config
- Events persist across restarts until an adapter succeeds
Starfish sync conflicts
- 409s are retried automatically (up to
maxRetries) - High contention may exhaust retries — increase
maxRetrieson the Starfish client
Event counting returns 0
- Ensure
enableEventCounting: truein your config - Counts only accumulate for
capture()events (not screen/identify/alias)
Error handling reference
| Scenario | Behaviour |
|---|---|
Adapter send() throws | Events stay in queue; retry on next flush |
| All adapters fail | Events stay in queue; no data is lost |
| Storage quota exceeded | Write silently ignored; queue may be inconsistent |
| Network timeout (HTTP) | Exponential backoff; discard after maxRetries |
| Middleware throws | Event dropped; error logged; pipeline continues |