Bug in new, undocumented, Live Match end point

Sort:
Tricky_Dicky

URL address in Live match endpoint directs to daily match ID

ie

https://api.chess.com/pub/match/{ID}

not

https://api.chess.com/pub/match/live/{ID}

bokacm

It seems it is fixed now...

Tricky_Dicky

Don't think so.

andreamorandini

@Tricky_Dicky can you please point to an url where this happened?

Tricky_Dicky

https://api.chess.com/pub/match/live/5529

URL address in end point is

"@id":"https://api.chess.com/pub/match/5529"
&
"url":"https://www.chess.com/club/matches/5529"
& the individual boards
https://api.chess.com/pub/match/5529/1


On another note Andrea,
What is happening with the API.
There seems to be things happening but little staff involvement
in this group and no notifications or documentation.

mxgolota

When i'm trying to dive in boards enpoints in live matches, i get an error with sql-query:

{"message":"An exception occurred while executing 'SELECT t0.id AS id_1, t0.time_increment1 AS time_increment1_2, t0.game_time_class AS game_time_class_3, t0.move_timestamps AS move_timestamps_4, t0.game_id AS game_id_5, t0.game_type_id AS game_type_id_6, t0.initial_setup AS initial_setup_7, t0.rated AS rated_8, t0.user1_rating AS user1_rating_9, t0.user2_rating AS user2_rating_10, t0.base_time1 AS base_time1_11, t0.user1_result_id AS user1_result_id_12, t0.user2_result_id AS user2_result_id_13, t0.game_end_time AS game_end_time_14, t0.move_text AS move_text_15, t0.fen AS fen_16, t0.ply_count AS ply_count_17, t0.user_to_move AS user_to_move_18, t0.rating_sum AS rating_sum_19, t0.imported_in_explorer AS imported_in_explorer_20, t0.thread_id AS thread_id_21, t0.eco_id AS eco_id_22, t0.tournament_id AS tournament_id_23, t0.team_match_id AS team_match_id_24, t0.user1_id AS user1_id_25, t0.user2_id AS user2_id_26 FROM game_live t0 WHERE t0.team_match_id = ? AND t0.user1_id = ? LIMIT 1\n-- REQUEST_URI: /pub/match/live/5352/3\n-- REQUEST_ID: 9b5afc0c0d8da7e81b633a11483a4aad' with params [5352, 33911668]:\n\nSQLSTATE[HY000]: General error: 2006 MySQL server has gone away","code":0}

Example: https://api.chess.com/pub/match/live/5352/3
bokacm

This is bad, there shouldn't be any mysql errors in response...

@Tricky_Dicky I was mistaken, I thought you meant other endpoint, and you are right, it doesn't work. But the main problem is, nothing is updated, I didn't even know they published live games in the API.

andreamorandini

Dear @bokacm and @Tricky_Dicky . First of all thanks for helping us. I was going to announce the new endpoints but unfortunately there are still some bugs that need to be corrected before the official launch and which are taking longer than expected to be solved.

Live matches endpoints will be closed until bugs will be fixed. Sorry for the troubles!

bokacm

Any update on the issue?