Closed youennwilson91 closed 1 year ago
The error message could be due to 2 reasons
Regarding the Runtime error, the reproduce steps were followed but nothing similar was shown to the runtime error you got.
To help you further can you confirm the version of the library you have? (Use the following methods to check the version)
pip show cod-api
or
import cod_api
print(cod_api.version)
PS: The endpoints points for modernwarfare2 and warzone2 aren't active yet and the error message for this would be as follows
```bash
{'status': 'error', 'data': {'type': 'com.activision.mt.common.stdtools.exceptions.NoStackTraceException', 'message': 'Error from datastore'}}
Also pls edit your message to hide your SSO-TOKEN and hide your SSO-TOKEN in future issues as well
Hi,
My version is 2.0.1.
I checked my SSO_COOKIE on callofduty.com, it is correct. I used the username of the youtuber SkyRRoZ, on the PSN platform.
Nevertheless, my code is not working. I still have the RunTIme error.
RuntimeError: Event loop is closed {'status': 'error', 'data': {'type': 'com.activision.mt.common.stdtools.exceptions.NoStackTraceException', 'message': 'Not permitted: not allowed'}}
Please could you give me a valid token an a valid username so I can try ?
Thank you
We did some test with a couple of psn usernames, other platforms usernames and fake usernames. Following is what we have narrowed down to.
{'status': 'error', 'data': {'type': 'com.activision.mt.common.stdtools.exceptions.NoStackTraceException', 'message': 'Not permitted: not allowed'}}
{'status': 'error', 'data': {'type': 'com.activision.mt.common.stdtools.exceptions.NoStackTraceException', 'message': 'Not permitted: user not found'}}
So in this scenario the account does exist but due to how he has set his privacy in his account it is not allowing the api end point to return data
Hope this helps and this issue will be closed if further bugs rise please feel to draft a new issue ♡
Describe the bug
When I run the first few lines of the tutorial, i get a RuntimeError.
Here is my code :
Here is the output:
To Reproduce Steps to reproduce the behavior:
Just connect to the API and print any player profile.
Expected behavior I expected to get the full data on the player named "SkyRRoZ"
Screenshots
Desktop (please complete the following information):
Additional context