I’ve attempted to re-deploy my web service(Flask app) a couple of times following a new GitHub commit and each time I’ve attempted, I am getting the error “ [Deploy failed Exited with status 1”. I’ve attempted to clear the build cache and re-deploy but get the same error.
After checking our logs for your service, I see an additional error that I believe is causing your application to exit. It seems that your application may be trying to access the firebase credentials at
servicekey.json, but not finding a file there.
File "/opt/render/project/src/app.py", line 10, in <module>cred = credentials.Certificate('servicekey.json')File "/opt/render/project/src/.venv/lib/python3.7/site-packages/firebase_admin/credentials.pywith open(cert) as json_file:FileNotFoundError: [Errno 2] No such file or directory: 'servicekey.json'
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.