You're using personal access tokens (PAT) to access the SmartThings API. As Samsung made some major changes to usage of PATs at then end of 2024 the usage of PATs is not recommended anymore. Please consider switching to OAuth for authentication.
To simplify setup of OAuth please use the following button to start a wizard that guides you through the setup. This wizard can also be used if token has unexpectedly expired.
For a detailed guide please check the OAuth setup guide.

OAuth Setup Wizard

SmartThings App Redirection Authorization code Authorization token

SmartThings App

To activate OAuth integration you have to create a SmartThings application. To do so use the smartthings-cli. To install the CLI use the installation steps from the documentation.

If installation succeeded use the apps:create command to create a new application. While creating the application make sure you use the matching redirect URL and scopes defined below.

⚠ You can customize the redirect URL if you want but it is recommended to keep the default so you can stick to instructions in this wizard.
⚠ You can customize the scopes if you want but it is recommended to keep the default so you can stick to instructions in this wizard.

Redirection

You will now be redirected to login at SmartThings home page where you have to select desired location and confirm access for selected scopes.

Afterwards you will be redirected to httpbin. This page will show the OAuth response that is needed for continuing. To do so paste the args.code value in next step of the wizard.

Authorization code

Do now paste args.code value shown at httpbin below.

Authorization token

Your access and refresh token will now be requested and set automatically.

When tokens have been filled in OAuth setup has been successful and you will be redirected to main config page.