Skip to Content
docs
API

Errors and limits

Status codes, per-event rejection codes, and rate limits.

Status codes

StatusMeaningWhat to do
200Batch processed; see rejected for per-event problemsfix rejected events, don't retry them
400Not a valid batch at allfix the request
401Bad or revoked keycheck the key and environment
413Over 500 events or 1 MBsplit and retry
429Rate limitedwait for Retry-After seconds, then retry
5xxOur problemretry with backoff, same insert_ids

Errors use one shape:

{ "error": { "code": "invalid_key", "message": "This key was revoked on 2026-11-30." } }

Rejection codes

CodeWhy
invalid_event_namename doesn't match ^[a-z][a-z0-9_]{0,63}$ or uses a reserved $ name
missing_identityneither player_id nor device_id
too_oldtime is more than 30 days ago
in_futuretime is more than 1 hour ahead
too_many_propertiesmore than 255 keys
properties_too_largemore than 8 KB serialized
forbidden_for_keye.g. setting another player's properties with a publishable key

Limits

Events per batch500
Batch size1 MB (before gzip)
Rate2,000 events/s per app; 10,000 on Scale
Dedup window7 days by insert_id; purchases also by transaction_id, forever

On this page