-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi,
I'm using the latest version of the spond API and am getting the following errors whenever I try to connect to Spond:
2025-08-27 09:02:58,562 :: ERROR :: :: Fatal Exception: 403, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://api.spond.com/core/v1/login'
Traceback (most recent call last):
File "/home/igoproapp/bart/rbfa-sync/models/team.py", line 225, in _link_to_spond
groups = await spondapi.get_groups()
File "/home/igoproapp/.local/lib/python3.10/site-packages/spond/base.py", line 29, in wrapper
await self.login()
File "/home/igoproapp/.local/lib/python3.10/site-packages/spond/base.py", line 41, in login
login_result = await r.json()
File "/home/igoproapp/.local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1281, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 403, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://api.spond.com/core/v1/login'
2025-08-27 09:02:58,562 :: ERROR :: :: Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f3c86c0cdc0>
2025-08-27 09:02:58,562 :: ERROR :: :: Unclosed connector
connections: ['deque([(<aiohttp.client_proto.ResponseHandler object at 0x7f3c885d54e0>, 35596271.72073803)])']
connector: <aiohttp.connector.TCPConnector object at 0x7f3c86c0d960>
Metadata
Metadata
Assignees
Labels
No labels