Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

TypeError when using the Friend List func or any other. #16

@gentilidev

Description

@gentilidev

Hi! I went to do some tests involving your project and I came across an error when trying to use any of the functions, in this case below it was using the list of friends. Another thing, can I use the same cookie every time or do I need to collect it before using it?

Exception has occurred: TypeError
'NoneType' object is not iterable
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\cod_api_init_.py", line 556, in info
for i in rawData['identities']:
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\cod_api_init_.py", line 567, in _priv
d = self.info()
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\cod_api_init
.py", line 610, in settingsAsync
p, g = self._priv()
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\cod_api_init
.py", line 615, in settings
return asyncio.run(self.settingsAsync())
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\main.py", line 11, in
settings = api.Me.settings() # returns data of type dict

https://prnt.sc/pw9YVARChv_E

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions