Skip to content

Error when logging in #70

@camd87

Description

@camd87

Hey everyone. Python noob here.

I am getting this error when trying to connect to MySuperior.
KeyError: 'token'

I added a print statement to the code to see what was in res, and this is what is coming up:
{"Error":"INVALID_APP_ERROR","Success":false,"Source":"BRIDGE"}

Anyone else have the same issue? Any fix?

Here is my connection string (with the login details blanked for obvious reasons)

connection = agua_iot("https://piazzetta.agua-iot.com", "458632", "manager@*******.com.au", "mypassword", "cb417e45-35c5-4ef4-9035-dfc569db755f", brand_id="1", login_api_url="https://piazzetta-iot.app2cloud.it/api/bridge/endpoint/")

Thanks for your help!

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