new generated oauth tokens are invalid

zouch.mehdi

Hello, I am trying to use Netatmo endpoints to control legrand devices. I was able to create an access token, and I was able to control the device for a couple of days. however, last week, all the new token are invalid. 

{
"error": {
"code": 2,
"message": "Invalid access token"
}
}

I am using the tokens with the right permissions: 

{
"access_token": "xxxxxxxxxxxxx",
"refresh_token": "xxxxxxxxxxxxx",
"expires_in": 10800,
"expire_in": 10800,
"scope": [
"read_magellan",
"write_magellan"
]
}

is there a problem with the endpoint ? 
0

Comments

2 comments

  • Comment author
    martin

    are you able to fix it? I run into the same issue 

    0
  • Comment author
    zouch.mehdi
    • Edited

    If you encounter this issue, it's probably due to authorized 3rd party inside my account/Third party application, I saw that each time I try to create an authorization, it's not removing the old one, instead it's added. you have to delete all of them and try again, should work fine

    0

Please sign in to leave a comment.