AZ710: A missing or wrong argument
A call is missing something it needs (a reason, kept in the audit trail; approve or deny; a key's name; the id of the principal whose keys it names; how long authz.trim_audit keeps) or has a value out of range (a duration that isn't positive, emergency access longer than a day, a command authz.explain_rule doesn't explain, a row it can't find without an id, a page cursor for authz.list that isn't an id of the type, a negative page size, a member list for authz.sync_members that is NULL or holds a NULL). SQLSTATE 22023; answer 400, as the SDKs do, with the database's words. Electric's route in the TypeScript SDK (electricShape) answers 400 with this code a shape request that sets the shape itself (its own where, params, another table), names a column the route doesn't sync, or posts more than a subset.
Reported to the app, by the authz.* functions and the policy's rules: the code is in the error's HINT (rowstile help AZ710), and the SDKs' errors carry it as code.