Tide · Errors

invalid_fact

ingest fails with code invalid_fact when a fact lacks a field its kind requires: a write fact needs entity, a signal fact needs name. Without this check, a write fact that names no table would be stored and match no reflex, and its sender would receive no error.

Fact
{
  kind: 'write',
  op: 'insert',
  row: { id: 'B-2038', member: 'mia' },
  at: 1792653120000,
}
Error
invalid_fact
fact did not parse: a write fact needs `entity` — it is what a write trigger matches on
Output matches the expected value

Runs in this page on the installed package. The input and the expected output are defined by the example.