noam.honig
noam.honig
RRefine
Created by deep-jade on 1/24/2023 in #ask-any-question
displaying field level validation errors from the backend
Hi, My backend returns validation structured validation errors on post or put, with field level error information for example:
{
"modelState": {
"name": "validate error"
},
"message": "Name: validate error"
}
{
"modelState": {
"name": "validate error"
},
"message": "Name: validate error"
}
How can I get the error for the name field to display next to the name field in refine. Is there a specific exception error structure I need to use?
28 replies