© 2026 Hedgehog Software, LLC
@novu/api
Missing authorization header
import { Novu } from '@novu/api' const novuSecretKey = process.env.NOVU_SECRET_KEY if (!novuSecretKey) { throw new Error('NOVU_SECRET_KEY is not set') } export const novu = new Novu({ secretKey: novuSecretKey, serverURL: 'https://eu.api.novu.co', }) export const getNovu = () => { const key = process.env.NOVU_SECRET_KEY console.log({ title: 'getNovu', novuSecretKey: key, envKey: process.env.NOVU_SECRET_KEY, }) return new Novu({ secretKey: key, serverURL: 'https://eu.api.novu.co', }) }
--header 'Authorization: **ApiKey** <NOVU_SECRET_KEY>'
NOVU_SECRET_KEY