dambel

دمبل

shevron
ورود | ثبت نام

API Docs / globals / validation-errors



Validation Errors

Describes the structure of error responses when request parameters fail validation (HTTP 422).


Error Response

When validation errors occur, the API returns a 422 status code with the following structure:

{
  "errors": {
    "<field name>": [
      "error 1",
      "error 2"
    ],
    "email": [
      "Email field is required"
    ]
  }
}
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube