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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more