The request was well-formed but the server cannot process it due to semantic errors (e.g., validation failures).
return NextResponse.json({
error: 'Validation failed',
details: [
{ field: 'email', message: 'Invalid email format' },
{ field: 'age', message: 'Must be a positive number' },
],
}, { status: 422 });Return specific field-level errors so clients can fix their requests.
ObserveOne monitors validation error rates and identifies common user input issues.
Start Monitoring FreeThe server cannot process the request due to malformed syntax, invalid parameters, or bad encoding.
The request requires authentication. The client must provide valid credentials.
The server understood the request but refuses to authorize it. Authentication won't help — the user lacks permissions.
The server cannot find the requested resource. The URL may be wrong, the resource may have been deleted, or the route doesn't exist.
The HTTP method (GET, POST, PUT, DELETE) is not supported for this endpoint.