Bug in api.chess.com/pub/match/{ID} endpoint

Sort:
davidFreelance

This bug occurs in matches with a Rating Max value declared during 'Registration' status. Example:

https://api.chess.com/pub/match/873060 we got this:

 

{"@id":"https://api.chess.com/pub/match/873060","name":"Warm-up Tournament R2 - Big Game Hunters vs Team Spain","url":"https://www.chess.com/club/matches/873060","start_time":1519923600,"status":"registration","boards":63,"settings":{"rules":"chess","time_class":"daily","time_control":"1/259200","min_team_players":1,"max_rating":1500,"min_required_games":0,"autostart":false},"teams":{"team1":{"@id":"https://api.chess.com/pub/club/big-game-hunters","name":"Big Game Hunters","url":"https://www.chess.com/club/big-game-hunters","score":0,"players":[{"username":"billforchess","rating":1330,"timeout_percent":0,"status":"premium"},{"username":"bsankar","rating":1345,"timeout_percent":0,"status":"premium"},{"username":"bufab","rating":1109,"timeout_percent":0,"status":"premium"},

.......................................................................................................................................................................

{"username":"lifin","timeout_percent":0,"status":"basic"}


 

The user "lifin" has no rating data, probably because his rating is now above the Rating Max established for this match, but he is still in the list. The same happens to all players with ratings eventually out of limits.

Have a nice day!

andreamorandini

Thank you for your feedback. From a first check I can say that is not directly related to the max rating. I will keep you informed.