-
Notifications
You must be signed in to change notification settings - Fork 8
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
HTTP status 412 (precondition failed) #16
Comments
Same here with NodeRed and node-red-contrib-panasonic-comfort-cloud. |
FYI: bisand/node-red-contrib-panasonic-comfort-cloud is by the way using this library. |
The login works fine and a token is returned, but when it tries to call getClientId() it fails with "Request failed with status code 412 Precondition Failed"
|
Similar to this issue sockless-coding/panasonic_cc#331 |
If there is a solution, I will implement it as quickly as possible :-) |
This is the solution I think: sockless-coding/panasonic_cc#336 |
If it helps you, my original implementation was in Javascript before porting to Python. |
@hrrrsn thank you, that helped very much! :-) |
Fantastic - thank you both for the quick fix! |
Thanks 😀 |
Hi, sorry to interrupt your flow... :-)
As of this morning, my Homey app for PCC receives 412 during authentication.
(It happens at least for another user and myself.)
I can reproduce with this code:
The Android app seems to work fine with the same credentials.
There was a notification about a change to the authentication flow (a simplification, I think) - this might not be related.
The text was updated successfully, but these errors were encountered: