Wenlue Zhang 0 Posted June 19, 2020 Share Posted June 19, 2020 I have just tested the API endpoint /ratings/{id}/atcsessions/. I found that it is working correctly when a user is not currently on any ATC position. Otherwise, the API will return a server error. So I guess it may not handle an incomplete session well. Is it possible to use an object with some null properties to represent the user is currently still in a session? Wenlue Zhang | Contact me Senior Controller (C3) P.R.China Division Webmaster (VATPRC8) Link to post Share on other sites
Lenny Colton 0 Posted June 26, 2020 Share Posted June 26, 2020 I'm also having this issue. Whenever the return will include the user's current connection, the API returns error 500. The main time I encounter this problem is when I attempt to pull all of a user's stats in one go. A workaround is to specifically request a position which the user is not currently connected to, which works fine. However, there is no way to see what someone is currently connected as (except through the status API, which does not sort/filter by CID). Link to post Share on other sites
Nick Harasym 0 Posted June 27, 2020 Share Posted June 27, 2020 Hey folks, taking a stab at this problem. I'll update here once I've fixed it. Nick Harasym Senior Network Infrastructure Engineer [email protected] www.vatsim.net Link to post Share on other sites
Nick Harasym 0 Posted June 27, 2020 Share Posted June 27, 2020 Fixed up. Should work for you now. Nick Harasym Senior Network Infrastructure Engineer [email protected] www.vatsim.net Link to post Share on other sites
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now