Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to authenticate #100

Open
gmyx opened this issue May 31, 2024 · 1 comment
Open

Unable to authenticate #100

gmyx opened this issue May 31, 2024 · 1 comment

Comments

@gmyx
Copy link

gmyx commented May 31, 2024

I';m trying to add my BlueAir 311i MAx, but getting invalid user.

Logs:
2024-05-31 11:47:25.019 DEBUG (MainThread) [blueair_api.util_http] sending https://api.blueair.io/v2/user/[[email protected]]/homehost/ requestheaders: {'X-API-KEY-TOKEN': '[obfuscated]'}
2024-05-31 11:47:25.176 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Fri, 31 May 2024 15:47:25 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')>
2024-05-31 11:47:25.176 DEBUG (MainThread) [blueair_api.util_http] response status: 200
2024-05-31 11:47:25.177 DEBUG (MainThread) [blueair_api.util_http] response raw: "api.blueair.io"
2024-05-31 11:47:25.177 DEBUG (MainThread) [blueair_api.util_http] sending https://api.blueair.io/v2/user/[[email protected]]/login/ requestheaders: {'X-API-KEY-TOKEN': '[obfuscated]='}
2024-05-31 11:47:25.221 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Fri, 31 May 2024 15:47:25 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')>
2024-05-31 11:47:25.221 DEBUG (MainThread) [blueair_api.util_http] response status: 404
2024-05-31 11:47:25.222 DEBUG (MainThread) [blueair_api.util_http] response json: {'state': 404, 'message': 'This AuthUser does not exist.', 'requestedUri': '/v2/user/[[email protected]]/login/', 'stack': '[obfuscated]', 'propagatedException': None}

@cromulus
Copy link

Same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants