docs
/
Explore live demo
Sign up
  1. Introduction
  2. Home
  3. Overview
  4. Getting started
  5. Explanation
  6. Component
  7. Slot
  8. Immersion
  9. Reference
      1. Integration
      2. Manual installation
      3. Content rendering
      4. Query evaluation
      5. Data collection
      6. Event tracking
        1. Debugging
          1. Missing middleware
          2. Missing route context
          3. Missing environment variable
    1. Reference
    2. SDK
  1. Next.js
  2. Troubleshooting
  3. Common problems

Missing environment variable

Learn how to set up the required environment variables.

If you see an error like the one below, you probably forgot to set one of the required environment variables:

Error

Did you forget to set the SOME_ENV_VAR environment variable?

See the configuration section for more information on the required environment variables and how to set them up.

Previous
Missing route context
Next
API reference
  • Resources
  • Documentation
  • Blog
  • Affiliates
  • Support
  • Slack community
  • API status
  • Company
  • Careers
  • Contact us
  • Legal
  • Privacy policy
  • Terms of service
  • Language
© Croct 2025