firebase / firebase-functions-python

Apache License 2.0
135 stars 22 forks source link

cloud functions v2 crashes on 0.3.0 firebase-functions #194

Closed DawidMaciazek closed 5 months ago

DawidMaciazek commented 5 months ago

After rollout of new version of firebase-functions (0.3.0) my python cloud functions 2nd gen started crashing.

Logs form GCP console: logs

It looks like problem is in firestore_fn.py line 137 and 138:

    event_auth_type = event_attributes["authtype"]
    event_auth_id = event_attributes["authid"]

changing authtype->type and authid->id solves the problem locally (emulators).

For deploys to work I had to change firebase-functions to version 0.2.0

kylesykes commented 5 months ago

I'm also seeing this behavior, exact same error message and stack trace, deploying to 2nd gen functions.

exaby73 commented 5 months ago

0.4.1 is released and should fix this