[#676] block my apis

Migrated from Redmine #676 | Author: Ritayan Pal
Status: Feedback | Priority: High, I’m very impatient | Created: 2021-03-25


only login api working
suddenly of the others like
https://user-api-v2.simplybook.pro/admin/providers
GET
in header:
Content-Type:application/json
X-Company-Login:testcenter
X-Token:7203a76a273400da447290a3c0b20566104b2713edc2915bc957d52d33e1214a
but i am geting

output
Ouch!

ERROR
I’m sorry, that page is in another universe!

Back home
404 Error Image

Dmytro Bondarev wrote:

You should pass X-Company instead of X-Company-Login

Ritayan Pal wrote:

ok now got this
https://user-api-v2.simplybook.pro/admin/providers
get
header
Content-Type:application/json
X-Company:testcenter
X-Token:3d8fb4fcecd8de34d0d50ffd48cce3f1e9b964b9eac2c1c4db36b3e92e5ba400

output {“code”:401,“message”:“Unauthorized”,“data”:,“message_data”:}

this token is just created with that company.

Dmytro Bondarev wrote:

Hm. Sorry but it seems your company is blocked.

And you request is correct: you should pass X-Company-Login .

Amit Duggal wrote:

Dmitry Bondarev wrote:

Hm. Sorry but it seems your company is blocked.
https://testcenter.simplybook.pro/

And you request is correct: you should pass X-Company-Login .

Sorry that’s the wrong URL.

The right URL is https://pharmause.simplybook.pro/

We see that some testcenters get blocked randomly for api calls but suddenly start working the day after.

it seems like your protection (DDOS) is blocking access.

Dmytro Bondarev wrote:

Please provide company logins. Probably you exceed API calls limits.

Amit Duggal wrote:

Dmitry Bondarev wrote:

Please provide company logins. Probably you exceed API calls limits.

Hi, No we didn’t exceed API Call limit as we have increased it to 100k and our AM told us it’s not that.

it seems like we get blocked out suddenly and it only effects one location at the time. API limit usually blocks out everything.

Company login is pharmause

Ritayan Pal wrote:

is there any api for checking token is live or not, then call the refresh token?

Ritayan Pal wrote:

is there any api for checking token is live or not, before call the refresh token?