Open squeetus opened 7 years ago
Is this safe to close?
The server has been modified to give better response codes in the assignment api here https://github.com/squeetus/bridgesAPI/commit/cc16bba0bb53055ad015532312aa643512617972.
However, the client has not been updated to account for these. At least in this Java version, we only watch for 503 and >400 status codes.
Recommend keeping open, but this is not crucial.
the c++ client dies the same way on 400 or 500 with only the error code from the server that changes. I expect the java and python clients will do the same. So it is indeed not critical. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
The client receives a specific error when the POSTed JSON fails on the server:
We could trap SyntaxError: Unexpected token ... errors and instruct users to check their node labels for special characters to give better feedback.