diff --git a/src/auth_server/api.py b/src/auth_server/api.py index 6c5b3a7..2bca470 100644 --- a/src/auth_server/api.py +++ b/src/auth_server/api.py @@ -93,7 +93,7 @@ async def validation_exception_handler(request: Request, exc: RequestValidationE exc_str = f"{exc}".replace("\n", " ").replace(" ", " ") logger.exception(f"{exc}") - content = {"status_code": 10422, "message": exc_str, "data": None} + content = {"status_code": 422, "message": exc_str, "data": None} return JSONResponse(content=content, status_code=HTTP_422_UNPROCESSABLE_ENTITY) return app