mirror of
https://github.com/hanzo-apps/agency.git
synced 2026-10-30 14:47:29 +00:00
The build read its key from a forge secret that was empty, so the bundle passed ingestKey "" to @hanzo/event. With no key the SDK posts JSON with credentials included, and api.hanzo.ai refuses that preflight for hanzo.agency. The site now passes ORG_KEY.hanzo from the SDK's keyring: each batch goes out with ?ingest_key=, a text/plain body and credentials omitted, and the API answers 200. The deploy workflow no longer passes the empty secret. The first pk- in the bundle, which it tests at the ingest endpoint, is now the key the site sends. Co-authored-by: Hanzo Dev <[email protected]>