#Deployment has crashed with FileNotFoundError: [Errno 2]

7 messages · Page 1 of 1 (latest)

covert venture
#

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

unreal condorBOT
#

Project ID: e8b7ab53-ba57-4d1f-990e-434b6c0eeb09

brave knollBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

burnt zephyr
#

youd want to store that json file somewhere secure like a private bucket, and download it during startup

covert venture
covert venture
burnt zephyr
#

store it with a cloud provider that doesn't require you to use a silly authentication method like a json file