Bad rows
A bad row is an event the collector received and could not store as a valid event. The collector answers 200, as
for any other event, and keeps the payload apart with the reason it failed. An event on a tracker path never becomes
a 4xx, and no event is dropped for what it contains. The one 400 that is also a bad row is a refused
content telemetry document: the sender is a server, and is told.
When an event becomes a bad row
Section titled “When an event becomes a bad row”| Reason | When |
|---|---|
schema_not_found |
The event, or one of its entities, cites a schema version your collector does not hold |
schema_violation |
The data does not match its schema, the encoded event or entities do not decode, or e is not an event type the protocol defines |
event_too_large |
The event is valid but larger than about 128 KB once processed |
adapter_failures |
A content telemetry document that is not JSON, names no known document_type, or fails the standard’s schema. One row per document, answered 400 |
Older rows can also carry site_not_found or duplicate_entity. EdgeKit no longer produces
either.
Each payload is judged on its own. One bad payload in a request of ten leaves the other nine as valid events.
What never makes a bad row
Section titled “What never makes a bad row”- An unknown or missing site id. The event is collected under the id it names, or under
_unresolved. - A site that is not
active. No site setting stops an event being collected. - A bot. Bots are labelled on the event and kept.
- Consent. The collector does not check it.
- A malformed descriptive field, such as
p, a timestamp oreid. The collector stores null or derives an id instead.
What a bad row keeps
Section titled “What a bad row keeps”- the reason;
- the payload’s original bytes, this payload only and not the rest of its request;
- the site id it named, or
_unresolved; - the schema URI it cited, when there was one;
- the deployment it was judged against;
- when the collector received it;
- what failed, up to 25 violations, each with where in the payload it failed;
- the device and user ids it carried (
domain_userid,network_userid,user_id), when the payload was readable enough to find them.
A payload too large to keep whole is stored truncated, and the row says so.
Where bad rows go
Section titled “Where bad rows go”Bad rows are kept indefinitely, apart from your event archive, grouped by hour, site and reason. They never reach your warehouse or any forwarder, and no decision reads them.
There is no console screen or API that lists bad rows. To see them, ask EdgeKit for the bad rows of a site, an hour or a reason.
What you can do
Section titled “What you can do”| Reason | Fix |
|---|---|
schema_not_found |
Publish and deploy the version the event cites, or fix the URI in the tracker call. Normal on the day a new event first ships |
schema_violation |
Fix the tracker call, or publish a new version that accepts the data and ship your page or app with it |
event_too_large |
Send less in one event, for example fewer or smaller entities |
adapter_failures |
Fix the sender: the 400 body lists each violation and where in the document it failed |
A fix applies to events sent after it. A bad row stays a bad row: EdgeKit does not replay bad rows into your
archive, so a schema_violation stays invalid even after you publish a version that would accept it.
A sudden rise in schema_not_found usually means a tracker shipped before the schema it cites was deployed. See
Troubleshooting.
Bad rows and erasure
Section titled “Bad rows and erasure”Erasing a user does not remove their bad rows. A bad row whose payload could not be read carries no ids to find it by.