Field required but I don't mention "required" above
Hello there,
I have a problem. My field is considered as required by .net but I don't created it as required.
Below my controller
And the response
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "00-5588746f27392f4367a0d759b70b8f78-20699cede6741c50-00",
"errors": {
"JobGroupName": [
"The JobGroupName field is required."
]
}
}
I don't understand why. Can someone help me please3 Replies
The execution don't enter in my breakpoint at the first "{" of my Post function
Have you tried making the property nullable?
No 🤦♂️
I will try and came back to you