Personal Access Token stops working after a couple of days

When I create a new personal access token everything works great with SmartThings APIs for a couple of days. Then the token is no longer valid and I get a 401 error.

I verify the token still exists, and that I’m using the right secret.

The only way to fix it is to create a new token, but that only lasts for a couple of days.

What’s the fix for short-lived token secrets?

New tokens are only good for 24 hrs. This is a very recent chance.

1 Like
1 Like