Skip to content

Authentication failure #74

Description

@gumalobato

Aparentemente desde hoje começou a ocorrer erro de autenticação ao tentar logar via api:

api = cartolafc.Api(email=xxxxxxxx@xxxxx.xxx', password='xxxxxxxxxxx')

File "(...)\python-cartolafc-master\cartolafc\api.py", line 72, in __init__
  self.set_credentials(email, password)
File "(...)\python-cartolafc-master\cartolafc\api.py", line 104, in set_credentials
  body = response.json()
File "(...)\lib\site-packages\requests\models.py", line 900, in json
  return complexjson.loads(self.text, **kwargs)
File "(...)\appdata\local\programs\python\python38-32\lib\json\__init__.py", line 357, in loads
  return _default_decoder.decode(s)
File (...)\appdata\local\programs\python\python38-32\lib\json\decoder.py", line 337, in decode
  obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "(...)\appdata\local\programs\python\python38-32\lib\json\decoder.py", line 355, in raw_decode
  raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions