Skip to content

cloud functions v2 crashes on 0.3.0 firebase-functions #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DawidMaciazek opened this issue Apr 13, 2024 · 2 comments · Fixed by #199
Closed

cloud functions v2 crashes on 0.3.0 firebase-functions #194

DawidMaciazek opened this issue Apr 13, 2024 · 2 comments · Fixed by #199
Labels
bug Something isn't working

Comments

@DawidMaciazek
Copy link

DawidMaciazek commented Apr 13, 2024

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
Copy link

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

@exaby73
Copy link
Contributor

exaby73 commented Apr 19, 2024

0.4.1 is released and should fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants