Skip to content

HAMUR_E0225: hamur down or hamur up --url cannot call the task endpoint

hamur down or hamur up --url cannot call the task endpoint. Error HAMUR_E0225 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0225 hamur down --url needs the token: tasks.http.token reads env "<name>", which is not set here
text
HAMUR_E0225 hamur down --url needs tasks.http in hamur.config.ts; the deployed server serves the task endpoint only with it

Cause

--url runs the task through tasks.http of the deployed app, which needs the bearer token. The config has no tasks.http, or the env variable its token reads is not set in this shell.

Fix

Set tasks.http.token to env("NAME") in the config, and export the same variable here.