API Testing · Junior · Question 9 of 75
What do 5xx status codes mean?
- 1The server failed to handle a valid request
- 2The resource was moved to a new address
- 3The client sent data in a wrong format
Show the answer
Correct answer: The server failed to handle a valid request
Explanation
500, 502, 503 and 504 point to server or infrastructure problems. Invalid user input should never produce a 5xx; that's a bug.