[2026-01-16 09:08:29] DEBUG Début checkAndCreateApp
[2026-01-16 09:08:29] DEBUG Étape 1
[2026-01-16 09:08:29] DEBUG sendRequest - URL : https://api.smartthings.com/v1/apps METHODE : GET
[2026-01-16 09:08:30] DEBUG sendRequest - CODE : 401 RESPONSE :
[2026-01-16 09:08:30] DEBUG checkAndCreateApp 1 $foundApp= $sameApp=
[2026-01-16 09:08:30] DEBUG checkAndCreateApp 2 $foundApp=
[2026-01-16 09:08:30] DEBUG checkAndCreateApp smartapp n'existe pas
[2026-01-16 09:08:30] DEBUG checkAndCreateApp body {"appName":"jeedom_plugin_smartthings1768550910","displayName":"jeedom_plugin_smartthings","description":"SmartApp API_ONLY for Jeedom plugin.","appType":"API_ONLY","singleInstance":false,"classifications":["CONNECTED_SERVICE","AUTOMATION"],"iconImage":{"url":"https://github.com/Flobul/Jeedom-SmartThings/raw/master/plugin_info/smartthings_icon.png"},"oauth":{"clientName":"my_jeedom","scope":["r:hubs:*","r:locations:*","r:rules:*","r:scenes:*","x:devices:*","w:rules:*","w:locations:*","w:devices:*","r:devices:*","x:locations:*","x:scenes:*"],"redirectUris":["https://ba9062fc.eu.jeedom.link/plugins/smartthings/core/php/callback.php?apikey=HWuAYF844SKeikRZn5oKABlwP6efVuwM99kscGmKKwdDlCwh8sN5TbsHLHUI7mHX"]},"apiOnly":{"targetUrl":"https://ba9062fc.eu.jeedom.link/plugins/smartthings/core/php/callback.php?apikey=HWuAYF844SKeikRZn5oKABlwP6efVuwM99kscGmKKwdDlCwh8sN5TbsHLHUI7mHX"}}
[2026-01-16 09:08:30] DEBUG sendRequest - URL : https://api.smartthings.com/v1/apps METHODE : POST
[2026-01-16 09:08:30] DEBUG sendRequest - CODE : 401 RESPONSE :
[2026-01-16 09:08:30] DEBUG checkAndCreateApp $createApp null
Bonjour,
Je sais que ce sujet a été souvent traité mais je ne comprends pas tout… je préfère vous donner mon log. Comme vous le verrez, j’utilise un accès externe via le DNS Jeedom, j’ai fait la manipulation sur mon téléphone en étant en 5G comme j’ai pu le lire. J’ai recréé le jeton, j’ai mis toutes les autorisations… Mais j’ai toujours l’erreur lors de la récupération du jeton.
Pensez-vous qu’il y ait une résolution assez simple.
Merci de votre aide.

