refresh_token doesn't works
We can obtain the access token correctly.
But afterwards, we can't use the refresh token. We always get the same message.
"error": "invalid_grant"
The received refresh token has a strange character
|
. Could this be the reason?
Comments
6 comments
Hello,
The | character is normal, it should not be the problem unless if you have an encoding problem in your call
Can you try to create a new developer app and re-try to perform the refresh_token request ?
Have a good day,
Leslie - Community Manager
It seems that performing authentication multiple times with the same credentials generates multiple connections (see attached image). Perhaps this is why there are recurring
invalid_grant
issues, as it is possible that there are multiple refresh tokens in your backend.Confirm also that token stopped to work on 6.8.2024.
I have tried now to create a new developer app but still I got token error.
So seems to be some issue on server?
Also got feedback from third person that his token also stopped to work on yesterday.
Same here, invalid grant since yesterday.
Requested a new access token and refresh token and it's Ok now.
issue from today
[10/3/2024, 11:49:31 PM] [eveatmo platform] Restarting Process...
[10/3/2024, 11:49:32 PM] [eveatmo platform] Launched child bridge with PID 13184
[10/3/2024, 11:49:32 PM] Registering platform 'homebridge-eveatmo.eveatmo'
[10/3/2024, 11:49:32 PM] [eveatmo platform] Loaded homebridge-eveatmo v1.1.2 child bridge successfully
[10/3/2024, 11:49:32 PM] Loaded 0 cached accessories from cachedAccessories.0E1AF1F624D8.
[10/3/2024, 11:49:32 PM] [eveatmo platform] Authenticating using 'refresh_token' grant
[10/3/2024, 11:49:33 PM] [eveatmo platform] Loading new data from API for: weatherstation
[10/3/2024, 11:49:33 PM] [eveatmo platform] WARN - Netatmo: Error: Authenticate refresh error: invalid_grant
Fresh Token made minutes ago.
Homebridge issue
@netatmocrisolar: thanks, you saved my day. those netatmo guys know how to annoy you.
Please sign in to leave a comment.