There are two problems. One is the client must handle the error 500. I think they should, though error 500 implies server error. This is really a bad request, so we should probably return error 400. But in either case, we should not add the question. Or we should simply add the user. This shouldn't happen very often but I can see it will happen when the user has stayed in a session at login prompt after a teacher resets the game.
There are two problems. One is the client must handle the error 500. I think they should, though error 500 implies server error. This is really a bad request, so we should probably return error 400. But in either case, we should not add the question. Or we should simply add the user. This shouldn't happen very often but I can see it will happen when the user has stayed in a session at login prompt after a teacher resets the game.