Skip to content

HAMUR_E5332: content.clientQuery is neither api nor local

content.clientQuery is neither api nor local. Error HAMUR_E5332 belongs to @hamur/content (5301 – 5400).

Message

text
HAMUR_E5332 content.clientQuery must be "api" or "local" (got "<value>")

Cause

content.clientQuery chooses how queryCollection runs in the browser: "api" posts to the server, "local" fetches the collection once; nothing else is read.

Fix

Use one of the two.