# AZ701: Nobody signed in

A query needed to know who is asking, and nobody signed in in this transaction. Every transaction starts with `SELECT authz.act_as('user', '42')` (or `authz.act_as(NULL, NULL)` for nobody, or a login); the SDKs do it for you, so a query outside them (a raw connection, a transaction begun elsewhere) is the usual cause. It is a bug in the app, not the user's doing. SQLSTATE 28000; the SDKs raise `NotSignedIn`, which their frameworks leave a 500. A transaction signed in as nobody on purpose is signed in: a call there that needs someone says AZ714.

Reported to the app, by the `authz.*` functions and the policy's rules: the code is in the error's HINT (`rowstile help AZ701`), and the SDKs' errors carry it as `code`.
