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
{{ message }}
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
D:\project2\python-riot-auth-main\python-riot-auth-main\examples>python example_auth_argv.py "username" "password"
Traceback (most recent call last):
File "D:\project2\python-riot-auth-main\python-riot-auth-main\examples\example_auth_argv.py", line 19, in
asyncio.run(auth.authorize(*CREDS))
File "D:\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\riot_auth\auth.py", line 217, in authorize
async with session.put(
File "D:\Python311\Lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\aiohttp\client.py", line 643, in _request
resp.raise_for_status()
File "D:\Python311\Lib\site-packages\aiohttp\client_reqrep.py", line 1005, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url=URL('https://auth.riotgames.com/api/v1/authorization')
The text was updated successfully, but these errors were encountered:
D:\project2\python-riot-auth-main\python-riot-auth-main\examples>python example_auth_argv.py "username" "password"
Traceback (most recent call last):
File "D:\project2\python-riot-auth-main\python-riot-auth-main\examples\example_auth_argv.py", line 19, in
asyncio.run(auth.authorize(*CREDS))
File "D:\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\riot_auth\auth.py", line 217, in authorize
async with session.put(
File "D:\Python311\Lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "D:\Python311\Lib\site-packages\aiohttp\client.py", line 643, in _request
resp.raise_for_status()
File "D:\Python311\Lib\site-packages\aiohttp\client_reqrep.py", line 1005, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url=URL('https://auth.riotgames.com/api/v1/authorization')
The text was updated successfully, but these errors were encountered: