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

Precondition failed #76

Open
ihitsov opened this issue Jan 30, 2024 · 4 comments
Open

Precondition failed #76

ihitsov opened this issue Jan 30, 2024 · 4 comments

Comments

@ihitsov
Copy link

ihitsov commented Jan 30, 2024

Dear,

Last week my node-red tesla flow stopped working, without any intervention. I tried reverting a backup, but its no help. The node says "Precondition Failed". When I try to open the credentials of the node to replace the refresh token, node red crashes:
30 Jan 11:34:31 - [error] UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Precondition Failed".

Do you have any idea how I can try to resolve this? I tried uninstalling, changing the refresh token etc, but I always end up in the same spot. Thanks in advance for your help!

Best regards,
Ivaylo

@fascenda
Copy link

fascenda commented Jan 30, 2024

I'm new to Node-RED and encountered this same problem, in issue #67 this is being discussed. Tesla has removed their old API and opened a new one. I know very little about it (I don't even have my Tesla yet), but I think the former method of using the tokens will no longer work. I'm not sure if this can be solved, I'd say take a look at that discussion for any updates.

@ihitsov
Copy link
Author

ihitsov commented Jan 31, 2024

Yes I saw the other threads after posting mine. Thanks for pointing it out. Fingers crossed for a solution as I really liked how it worked before.

Best regards,
Ivaylo

@Bebeone111
Copy link

Any news on this? For me, the api is still not working.

@Michael-K-at-GitHub
Copy link

I propose closing this issue as a duplicate of #67

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

4 participants