Skip to content

HAMUR_E2004: Environment variables fail app/env.ts validation

Environment variables fail app/env.ts validation. Error HAMUR_E2004 belongs to hamur, server (2001 – 2999).

Message

text
HAMUR_E2004 Invalid environment variables:
<one line for each variable: its name and what is wrong>

Cause

An environment variable is missing or invalid against the schema of app/env.ts, at the start of the server, in the build or while it prerenders. Each line names a variable and the reason.

Fix

Set or fix the variables the message lists.