HTTP Status Code 530 - Unexpected Response

Sort:
stephen_33

I just tried downloading a batch of 47 match endpoints without being logged into the site & all was well until I came to this one...

https://api.chess.com/pub/match/1086522

..that returned a 530 status code which I've never seen before. A search shows it to be a code associated with accessing sites without being logged in but I don't see how that can apply in this case because all the other endpoint requests I made were responded to normally & being a REST api, all data from chess.com is public anyway.

Has anyone else had a similar problem?

Nevfy

I don't remember exactly the status code, which I've got, but once I had a situation, when REST API rejected my request. I repeated the request and it gave me the correct result, so later I could not reproduce this error.

Your link returns good result now for me. I guess that it's the same for you. So thinking about 47 requests in a row... Could it be that such exception is related with too many consequent requests? What is your delay between them?

stephen_33

Well it's the first time I can remember receiving that particular response code & I typically download between 40 & 55 match endpoints at a time but only consecutively, never simultaneously.

I've never bothered measuring the delay between my match requests but the processing of data I'm doing would typically be less than a second, so that much delay between them.

I've tried it since & it's fine so it may have been a momentary glitch?

andreamorandini

Dear @stephen_33 . I can confirm it should have been a temporary malfunction of our CDN. By the way, If you hit the limit rate the response code would be 429 .