Ultimate

X_QUERY_SUBSCRIBES_INVALID

Means

a query declares subscribed relations no live read can use

Typical cause

subscribes: [], or a subscribes: on a read that is not live: true. Judged at query(), in the file that declared it, like X_QUERY_CACHE_TTL_INVALID one field over — an empty list names no relation for the first subscribe to check, and a non-live read never reaches the cross-check at all, so an accepted one would be a declaration nothing verifies and nothing emits

Fix

name the relation the read selects from — subscribes: ['posts'] — or delete the field; on a read that should be subscribable, add live: true beside it

Listed under Policy and authz

This page as markdown