Rest API - Error Handling
An API returns this error response:
What is the issue with this response?
{"error": {"code": 400, "message": 12345}}What is the issue with this response?
{"error": {"code": 400, "message": 12345}}message field typically contains a descriptive string.message is a number (12345), which is incorrect.code as a number is valid; missing details is optional; JSON syntax is correct.message field should be a string, not a number -> Option B15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions