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

Failed to reguest status from AC: AxiosError: Request failed with status co de 429. T #285

Open
Abdulazizruh opened this issue Jan 23, 2025 · 12 comments
Labels
bug Something isn't working

Comments

@Abdulazizruh
Copy link

Image

Failed to reguest status from Abdulaziz's
AC: AxiosError: Request failed with status co de 429. This is failure number 1

homebridge-smartthings-ik.log.txt

Describe The Bug:

To Reproduce:

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:
@Abdulazizruh Abdulazizruh added the bug Something isn't working label Jan 23, 2025
@iklein99
Copy link
Owner

iklein99 commented Jan 23, 2025 via email

@Abdulazizruh
Copy link
Author

Hi

I readied on Samsung web site

Release Notes 2025 Jan 16
"Personal access tokens created after 30 Dec 2024 now expire 24 hours from the date of issuance"

What is the solution?

How can I get Webhook Token?

Thanks and best regards

@Abdulazizruh
Copy link
Author

image

Access Token from SmartThings are expired within 24H
It is really Big issue
I'm using Webhook but the API should valid to connected

@iklein99
Copy link
Owner

iklein99 commented Jan 26, 2025 via email

@Abdulazizruh
Copy link
Author

Please check the down link about the official expiration date is 24 hours
https://developer.smartthings.com/docs/getting-started/authorization-and-permissions

@iklein99
Copy link
Owner

iklein99 commented Jan 26, 2025 via email

@Abdulazizruh
Copy link
Author

We trust you
I’m waiting your update
God bless you

@jaeyupchung
Copy link

Hi all,

I have the same error and wonder how I can increase poll time.

Im a noob so I apologize in advance.
Thanks

@stefanpopescu
Copy link

Hi there,

First of all, great work with this plugin, i did a lot of research and this is the only one working and still maintained

I also have the same issue, i have 2 air conditioners in smartthings, connected the bridge to homekit, and since then, the homekit does a lot of requests to get the status of the devices, which results in status code 429 and bridge restart.

Waiting impatiently for an update.
Let me know if i can help somehow.

Thanks.

@Abdulazizruh
Copy link
Author

Abdulazizruh commented Jan 29, 2025

Hi
Please check this link

https://community.smartthings.com/t/changes-to-personal-access-tokens-pat/292019

This comment has been edited. Thank you, @stefanpopescu, for your comment.

Thanks

@stefanpopescu
Copy link

@Abdulazizruh i don't know how what you sent will help here.
From what i read, in the SmartThings api documentation, now instead of using PAT the plugin needs to do OAuth using a client_id and a client_secret that everyone should generate in the SmartThings API.

@iklein99 we count on you, let us know if we can help.

Best regards.

@Abdulazizruh
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants