DEV Community

OlaNeat Ayoola
OlaNeat Ayoola

Posted on

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)