DEV Community

Joaquin Gumucio L.
Joaquin Gumucio L.

Posted on

3 1

Flask-Firebase app on Heroku not getting env vars

I need help with env vars on heroku to be able to run a Flask app that connects to Firebase.

I'm having trouble making a Flask app that uses Firebase to run It seems like the Firebase Credentials api does not take the env vars even after they have been printed!

Heres de app code:

#!/usr/bin/env python3
""" PixelCode PDF generation application"""

from io import BytesIO
from os import environ

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay