You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At connections = bearer_client.users.get_current_user_connections()
the connection object returned None
File "/workspaces/discord-oauth/main.py", line 18, in callback
connections = bearer_client.users.get_current_user_connections()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vscode/.local/lib/python3.12/site-packages/zenora/impl/userapi.py", line 93, in get_current_user_connections
return_data.append(deserialize_model(Connection, x))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vscode/.local/lib/python3.12/site-packages/zenora/deserializers.py", line 57, in deserialize_model
return cls(**data)
^^^^^^^^^^^
File "<attrs generated init zenora.models.connection.Connection>", line 6, in __init__
self.integrations = __attr_converter_integrations(integrations)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vscode/.local/lib/python3.12/site-packages/zenora/deserializers.py", line 65, in deserialize_server_integration
for x in payload:
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered:
watercatuwu
changed the title
Help me to get current user connections
fix get_current_user_connections()
Apr 6, 2024
The access code is correct
and I already select connections scope option in Discord Oauth2 URL
I can run
get_current_user()
but can't runget_current_user_connections()
Here is my code
At
connections = bearer_client.users.get_current_user_connections()
the connection object returned None
The text was updated successfully, but these errors were encountered: