Nonsense error using a Python Google Cloud Function

50 Views Asked by At

I have created a Python script to deploy in Google Cloud Functions, in order to manage the creation of new documents on my Firestore database (Firestore triggers). I am deploying the function in the Google Cloud console, not locally. The functions is implemented correctly without any error. However, when I create a new document, an error occurs that is related with Flask, which is nosense as my Python script does not require Flask. This is all the setup of the function : enter image description here enter image description here enter image description here, this is the error : enter image description here, and this is the Firestore section, document, and value created : enter image description here. Why am I having this error? Thanks in advance!

0

There are 0 best solutions below