Troubleshoot missing or rejected events

Diagnose invalid payloads, expired identity tokens, missing contacts, and ambiguous email addresses.

First check Events in the workspace that issued the key. Filter by source, name, and contact. Event names are case-insensitive and periods and dollar signs are normalized to hyphens.

  • HTTP 400. Check event_name, send created_at in Unix seconds, and use an object for metadata. Values may be strings, finite numbers, booleans, link objects such as {"url":"https://example.com/orders/42","value":"Order 42"}, or money such as {"amount":1299,"currency":"USD"}. Use integer minor units for money.
  • HTTP 401 or 403. Confirm the endpoint and credential type. Refresh expired browser identity tokens. For browser requests, check the storefront origin. For backend requests, check workspace API network rules.
  • HTTP 404 or 409 on a server event. For 404, create or identify the contact in the key’s workspace. For an ambiguous email, use its unique user_id or Bettercom contact id.
  • HTTP 202 but only one event appears. Repeated requests with the same contact, name, and timestamp produce one event. Check the original action time before investigating delivery.

Related reading

Was this article helpful?