[#611] Simplybook auth response code error :403

Migrated from Redmine #611 | Author: Cho Optical
Status: Closed | Priority: High, I’m very impatient | Created: 2020-11-25


HI,

I always get “403 Too many attempts please try later”, after 3 or 4 attempts, what’s wrong with me? or I need to call logout after finish API use?

logout
https://user-api-v2.simplybook.me/admin/auth/logout

Dmytro Bondarev wrote:

Hi! You need to store token and reuse it. And if you do not need it anymore you need to call logout.

Cho Optical wrote:

Dmitry Bondarev wrote:

Hi! You need to store token and reuse it. And if you do not need it anymore you need to call logout.

Thanks for your reply!

OK. so If I call logout and then retrieve token again then will not accept 403 right?

Dmytro Bondarev wrote:

You will receive error anyway in case too many attempts. You need to reuse token.

Cho Optical wrote:

Dmitry Bondarev wrote:

You will receive error anyway in case too many attempts. You need to reuse token.

Ok. Thx