Skip to content

"Error: User agreement must be accepted again..." - what does that mean and how to get over this? #784

@mmoser18

Description

@mmoser18

I was trying to use python-roborock to experiment with my Roborock S6 MaxV.
I installed the code and got it running (for this I had to add two more libraries (pyyaml and pyshark) before it would start up successfully) and then tried to login but only got the below error: "Error: User agreement must be accepted again..." ?!?

C:\Users\xyz\AppData\Roaming\Python\Python313\Scripts> .\roborock login --email "xyz@gmail.com"
Requesting code for xyz@gmail.com
A code has been sent to your email, please enter the code: 502730
INFO:roborock.web_api:Login failed for xyz@gmail.com with the following context: {'msg': 'user agreement version is not up-to-date', 'data': None, 'code': 3006}
ERROR:roborock.cli:Uncaught exception in command
Traceback (most recent call last):
  File "C:\Users\xyz\AppData\Roaming\Python\Python313\site-packages\roborock\cli.py", line 97, in run
    await func(*args, **kwargs)
  File "C:\Users\xyz\AppData\Roaming\Python\Python313\site-packages\roborock\cli.py", line 334, in login
    user_data = await client.code_login(code)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\xyz\AppData\Roaming\Python\Python313\site-packages\roborock\web_api.py", line 431, in code_login
    raise RoborockInvalidUserAgreement(
        "User agreement must be accepted again - or you are attempting to use the Mi Home app account."
    )
roborock.exceptions.RoborockInvalidUserAgreement: User agreement must be accepted again - or you are attempting to use the Mi Home app account.
Error: User agreement must be accepted again - or you are attempting to use the Mi Home app account.
C:\Users\xyz\AppData\Roaming\Python\Python313\Scripts>

I replaced sensitive stuff (username and email) by "xyz" in the above.

What am I missing or any idea how can I get over this error? How or where would I need to "accept the user agreement"???

BTW: on page https://python-roborock.github.io/python-roborock/roborock.html#example-usage the link "https://python-roborock.github.io/python-roborock/examples/example.py" is dangling...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions