Ck
NNovu
•Created by Ck on 3/25/2025 in #💬│support
API Key Verification Failing for Self-Hosted Novu Instance
Issue Description:
I'm encountering persistent API key verification failures when trying to set up my self-hosted Novu instance. When running the following command: npx novu@latest init --secret-key=Api-Key --api-url=http://localhost:3000
I consistently receive this error:
Failed to verify your secret key against http://localhost:3000. For EU instances use --api-url https://eu.api.novu.co or provide the correct secret key
Steps Taken:
Verified all Novu services are running correctly (API, worker, web UI)
Confirmed MongoDB and Redis are functioning properly
Checked and updated API key in the API service's .env file
Tried updating the API key directly in the MongoDB database
Tried different API keys from the dashboard
Restarted all services multiple times
Question:
How can I test notification workflows in my self-hosted environment?
Are there any workarounds to resolve the API key verification issue?
@Pawan Jain
7 replies