Skip to content

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) - Ogame v. 8.2.0, Python 3.7/8 #8

Description

@NuminousDelta

Upon running the start_bot.py script, the script correctly reads the config.yaml file, but fails when attempting to run the client.login(), the JSON decoder fails and returns the above traceback.

I've gone over the login details via the debugger, and the inputs are being parsed correctly to the client object. It's been ages since I've last worked with JSON in Python, but from what I can gather, it's caused by an empty JSON object returned, i.e. no response.

Did Gameforge recently change their API or something?

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