[#1089] Error: 401 Token Expired when using a refreshed token

Migrated from Redmine #1089 | Author: Wail Latif
Status: Feedback | Priority: High, I’m very impatient | Created: 2023-08-09


Hello,

We have integrated the SimplyBookMe Rest API into our application.
Since August 08th 2023 we are not able to use our refreshed tokens, we keep getting errors : 401 Token Expired.

Because of these errors, we cannot use the SimplyBookMe API, even though the Refresh Token API call works fine.

Have the refresh tokens been cleaned for security reasons, as has been done in the past ? (cf. Support #1018: Auth token & refresh token expiring time - API - Simplybook.me support for developers)
Are the refresh tokens cleaned on a regular basis?
Should we use the Authentication API instead of the Refresh API?

Thank you for your answer !
Wail

Dmytro Bondarev wrote:

Hi,
Refresh token does not expire.
Refresh token can be used only once.
We do not clean refresh tokens on a regular basis.
Refresh token becomes invalid in case of changing password. In this case you should use authentication API.

Wail Latif wrote:

Thank you for your answers!

Wail Latif wrote:

We have checked and the password has not been changed.

Is there any other reason that could explain the errors?

Dmytro Bondarev wrote:

Probably you have used refresh token 2 times.
Please contact online support and provide them all details (including company url and refresh token). and we will check.