DEV Community

OlaNeat Ayoola
OlaNeat Ayoola

Posted on

3 2

How to fix "Must supply api_key"

helo
I'm working on a drf api where i'm using cloudinary to handle image upload, on my localhost i'm using .env file to save all my secret keys including cloudinary api key, and it working perfectly but once i deployed to heroku i keep getting this err message

ValueError at /profile/247de095-6895-4bff-a836-dedfa75cde4b/update

Must supply api_key
Enter fullscreen mode Exit fullscreen mode

and i have setup the secret key also using
heroku config:set api_key='api_key' but still it not working, can anyone help out

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

AWS Security LIVE!

Hosted by security experts, AWS Security LIVE! showcases AWS Partners tackling real-world security challenges. Join live and get your security questions answered.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️