Deployment has crashed with FileNotFoundError: [Errno 2]
Hi. I am have problem with my JSON file. I try to deploy my flask chatbot project the have function to read pdf file from firebase storage so I need to have json file for credential. But when Deployment in deploy logs said FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/User/Desktop/drconcrete-alpha-30-08-firebase-admi...
So, I check with my directory. Its have json here. I want to know my mistake
Im very newbie. Can you advice me where can I put json file and not have problem.
Thank you
5 Replies
Project ID:
e8b7ab53-ba57-4d1f-990e-434b6c0eeb09
youd want to store that json file somewhere secure like a private bucket, and download it during startup
project's id : e8b7ab53-ba57-4d1f-990e-434b6c0eeb09
Can you advice me where can I put json file. I try to put on GCS bucket but it ran to problem too.
store it with a cloud provider that doesn't require you to use a silly authentication method like a json file
Oh thank you I will continue finding.😊