Question · NestJS course · Module 10: Data Validation

Validation Error in NestJS

What HTTP status code does NestJS return when data validation fails?

Answer options

  • 200 OK
  • 400 Bad Request
  • 401 Unauthorized
  • 500 Internal Server Error

You can check the correct answer by solving this task in the CodeWorlds game.