R
Railway•13mo ago
peonycha

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
No description
5 Replies
Percy
Percy•13mo ago
Project ID: e8b7ab53-ba57-4d1f-990e-434b6c0eeb09
Brody
Brody•13mo ago
youd want to store that json file somewhere secure like a private bucket, and download it during startup
peonycha
peonycha•13mo ago
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.
Brody
Brody•13mo ago
store it with a cloud provider that doesn't require you to use a silly authentication method like a json file
peonycha
peonycha•13mo ago
Oh thank you I will continue finding.😊
Want results from more Discord servers?
Add your server