-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
checked airsenal_env get and all seems above board, but get this:
Login failed due to the error above. Continuing without login but this may cause issues later due to not having your latest team details. Login failures could be caused by issues with your username and password, connection problems, or changes to the API.
self.login()
Traceback (most recent call last):
File "/home/john/AIrsenal/airsenal/framework/data_fetcher.py", line 673, in _post_data
resp.raise_for_status()
File "/home/john/AIrsenal/.venv/lib/python3.12/site-packages/curl_cffi/requests/models.py", line 167, in raise_for_status
raise HTTPError(f"HTTP Error {self.status_code}: {self.reason}", 0, self)
curl_cffi.requests.exceptions.HTTPError: HTTP Error 403:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/john/AIrsenal/.venv/bin/airsenal_run_pipeline", line 10, in <module>
sys.exit(run_pipeline())
^^^^^^^^^^^^^^
File "/home/john/AIrsenal/.venv/lib/python3.12/site-packages/click/core.py", line 1462, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/AIrsenal/.venv/lib/python3.12/site-packages/click/core.py", line 1383, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/john/AIrsenal/.venv/lib/python3.12/site-packages/click/core.py", line 1246, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/AIrsenal/.venv/lib/python3.12/site-packages/click/core.py", line 814, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/AIrsenal/airsenal/scripts/airsenal_run_pipeline.py", line 258, in run_pipeline
transfers_ok = make_transfers(fpl_team_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/john/AIrsenal/airsenal/scripts/make_transfers.py", line 359, in make_transfers
fetcher.post_transfers(transfer_req)
File "/home/john/AIrsenal/airsenal/framework/data_fetcher.py", line 619, in post_transfers
self._post_data(
File "/home/john/AIrsenal/airsenal/framework/data_fetcher.py", line 676, in _post_data
raise requests.exceptions.HTTPError(msg) from e
curl_cffi.requests.exceptions.HTTPError: Failed to set transfers. Make the changes manually on the web-site if needed.: HTTP Error 403: {"detail":"Authentication credentials were not provided."}
Metadata
Metadata
Assignees
Labels
No labels