Skip to content
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

FCM v1 Upgrade - 'NoneType' object has no attribute 'items' #368

Closed
bluepen50 opened this issue Apr 5, 2024 · 2 comments
Closed

FCM v1 Upgrade - 'NoneType' object has no attribute 'items' #368

bluepen50 opened this issue Apr 5, 2024 · 2 comments
Assignees

Comments

@bluepen50
Copy link

Running the latest version of Synapse (1.104.0) and Sygnal (0.14.0) and getting the following error:

 File "/usr/local/lib/python3.10/site-packages/sygnal/gcmpushkin.py", line 673, in _build_data
    for attr, value in data["content"].items():
AttributeError: 'NoneType' object has no attribute 'items'

This is from trying to upgrade to use the new V1 Firebase tokens- have updated the config so that is contains the following:

api_version: v1
project_id : id
service_account_file : filepath.json

What might be causing this issue?

@devonh
Copy link
Contributor

devonh commented Apr 9, 2024

This was fixed in #362
I can make a new release with the fix.

@devonh
Copy link
Contributor

devonh commented Apr 9, 2024

release 0.14.1 fixes this issue

@devonh devonh closed this as completed Apr 9, 2024
@devonh devonh self-assigned this Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants