> Documentation index: https://docs.zernio.com/llms.txt. Every page is also Markdown: add .md to its URL.

# Limits & errors

The custom endpoint payload fields, how identifiers are hashed, the connection's limits, and the common errors when connecting or sending conversions.

## Payload fields

The envelope holds `type` (`conversions`), `version` (`1`), `endpointId`, `test`, `testCode` on a test send, `sentAt` and `events`. Each event:

| Field | Holds |
|-------|-------|
| `eventId`, `eventName` | The event's id and name, after any rename in the forwarding rule |
| `eventTime`, `occurredAt` | When it happened, in Unix seconds and as an ISO 8601 date |
| `value`, `currency` | The value, after any override in the rule, and its currency |
| `actionSource`, `sourceUrl` | Where the event came from, and the page URL |
| `user` | The hashed identity, `country` in plain, `ipAddress` and `userAgent` |
| `clickIds` | Click ids in plain: `fbc`, `fbp`, `gclid`, `gbraid`, `wbraid`, `ttclid`, `ttp`, `twclid`, `msclkid`, `li_fat_id`, `epik`, `rdt_cid`, `sccid`, `irclickid`, `awc`, `dclid` and others |
| `utm` | `source`, `medium`, `campaign`, `term` and `content` from the source URL. A campaign tag set in your CRM wins for `campaign` |
| `campaign` | The ad campaign's `id` and `name` |
| `items` | The products, with `id`, `name`, `price`, `quantity` and `category` |
| `consent` | `adStorage`, `adUserData`, `adPersonalization` and `analyticsStorage` |
| `properties` | The event's free-form `platformData` |

## Hashing

Identifiers are SHA-256 hashed, as lowercase hex, after the Meta and Google Conversions API normalization:

| Field | Normalized as |
|-------|---------------|
| `emailSha256` | Trimmed and lowercased. Gmail dots are kept |
| `phoneSha256` | Digits only with the country code, no `+`: `+1 (415) 555-1234` becomes `14155551234` |
| `externalIdSha256` | Trimmed and lowercased |
| `firstNameSha256`, `lastNameSha256` | Lowercased, punctuation and quotes removed |
| `citySha256` | Lowercase letters and digits only |
| `stateSha256` | Lowercase letters and digits only |
| `zipSha256` | Lowercased, no spaces or dashes. A US ZIP+4 is cut to 5 digits |
| `dobSha256` | 8 digits, `YYYYMMDD` |
| `genderSha256` | `f` or `m` |
| `countrySha256` | ISO 3166-1 alpha-2, lowercase. Also sent in plain as `country` |

A value you already sent as a 64-character SHA-256 hex is passed on as is, lowercased, and never hashed twice.

## Limits

| Limit | Value |
|-------|-------|
| Events per request | 100 |
| Timeout | 10 seconds |
| Retries | With backoff for up to about 2.5 hours |
| Headers per connection | 10 |
| Signing secret | `whsec_` and 24 to 64 base64-encoded bytes |
| Connections per URL in a profile | One. A profile can hold many endpoints |

## What you cannot do

- Send to an http URL, or to a private, loopback, link-local, CGNAT or cloud metadata address
- Have Zernio follow a redirect
- Replace `Content-Type`, `User-Agent`, `Host`, `Content-Length` or the `webhook-*` headers
- Receive plain emails, phone numbers or names: they always arrive hashed
- Import past events in bulk to the endpoint
- Post, schedule or use the Inbox API on a custom endpoint connection

## Common errors

| Error | Cause | Fix |
|-------|-------|-----|
| `400` with `invalid_field_value` on `url` | The endpoint did not answer the test event with a 2xx, or the URL is refused | Read the reason in the message. See [Connect](/platforms/custom-endpoint/connect#if-it-fails). |
| `403` on connect | The Ads add-on is off | Turn on the Ads add-on. |
| `Custom endpoint 500: …` on an event | The endpoint answered with an error | Zernio sends the batch again. |
| `The custom endpoint rejected the event: …` | Your answer listed the event in `rejected` | Read your own message. |
| `401` with `reconnect_required` on an event | The endpoint answered 401 or 403 | Connect again with the header it expects. |

## Related

- [Connect](/platforms/custom-endpoint/connect)
- [Conversions](/platforms/custom-endpoint/conversions)
- [Rate limits](/guides/rate-limits)