refresh_token doesn't works

netatmocrisolar

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?
 
 
 
0

Comments

6 comments

  • Comment author
    Leslie Community moderator

    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

    0
  • Comment author
    netatmocrisolar

    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.

     

    0
  • Comment author
    jarsiv

    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.

    0
  • Comment author
    joost
    • Edited

    Same here, invalid grant since yesterday.
    Requested a new access token and refresh token and it's Ok now.

    0
  • Comment author
    miket

    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

    0
  • Comment author
    bob

    @netatmocrisolar: thanks, you saved my day. those netatmo guys know how to annoy you.

    0

Please sign in to leave a comment.