what to do if it is asking me for my NEXT_PUBLIC_A...
# ask-ai
g
what to do if it is asking me for my NEXT_PUBLIC_APP_CONFIG_ENDPOINT?
t
Thanks for reaching out, Nolan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi there! The
NEXT_PUBLIC_APP_CONFIG_ENDPOINT
is an environment variable that helps your LiveKit frontend application know where to fetch its configuration from. To help you get this working smoothly, here are a few friendly tips: • First, please make sure this variable is set up in your environment file (like
.env.local
) with a valid URL—for example,
https://your-config-service.com/config
. • If you're using dynamic configuration, double-check that the endpoint is reachable and returns data in the JSON format your app expects. • Also, if your setup requires it, don’t forget to provide the
SANDBOX_ID
environment variable. This helps personalize the configuration by including it in the request header. • And if you don’t need remote configuration, no worries! Your app will simply use the default settings defined in
APP_CONFIG_DEFAULTS
. If you run into any hiccups, a quick look at your console logs might reveal helpful clues—things like a missing
SANDBOX_ID
, unreachable endpoints, or unexpected response formats. I’m here to help if you need any more guidance! Sources: lib/utils.ts | complex-agents/drive-thru/frontend/app/(app)/page.tsx | Voice Assistant Examples | livekit/livekit_composite | DeepWiki