Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: A deepgram API key is required, When provide Key in .env.local config file #50

Open
312shan opened this issue Jul 31, 2024 · 4 comments

Comments

@312shan
Copy link

312shan commented Jul 31, 2024

Every Thing Ok on console, but get a need apikey error (Error: A deepgram API key is required) when open http://localhost:3000/

 npm run dev

> [email protected] dev
> next dev

  ▲ Next.js 14.2.0
  - Local:        http://localhost:3000
  - Environments: .env.local

 ✓ Starting...
 ✓ Ready in 7s
 ✓ Compiled / in 273ms
 ○ Compiling / ...
 ✓ Compiled / in 7.9s (2269 modules)
 GET / 200 in 11321ms
 ✓ Compiled in 1303ms (2269 modules)
 ○ Compiling /middleware ...
 ✓ Compiled /middleware in 1035ms (2588 modules)
 ○ Compiling /api/authenticate ...
 ✓ Compiled /api/authenticate in 1224ms (104 modules)
 GET /api/authenticate 200 in 3767ms
 GET /api/authenticate 200 in 3502ms


 GET / 200 in 4247ms
 ○ Compiling /favicon.ico ...
 ✓ Compiled /favicon.ico in 517ms (131 modules)
 GET /favicon.ico 200 in 681ms
 GET /api/authenticate 200 in 1998ms
 GET /api/authenticate 200 in 1966ms


image
@msopacua
Copy link

Did you do this step?

@dcutr
Copy link

dcutr commented Aug 13, 2024

Same problem. And yes, I set my API key in the .env.local file

@msopacua
Copy link

Your API key in .env.local doesn't have permission to create other keys. The demo uses the temporary key workflow and calls /api/authenticate, which looks up the project and create a temporary key. If the API key is not a key with ADMIN permission, then it cannot create temporary API keys and returns a failure.

@techcaptain04
Copy link

techcaptain04 commented Aug 21, 2024

Hello, Can I join to your team? I wanna work with you guys.
Also, I believe this work is so similar with my experiences.
Without wasting your time, let's chat to dive into the project details-I'm ready to go with you right away!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants