Hi Shah,
The missing field name in the JSON validation messages has been a long standing issue that will require a request for enhancement. One has been opened for this, see https://ideas.ibm.com/ideas/APICONN-I-777 and I wouldn't be surprised if there were others. Since this one is in state "Future Consideration" I'd suggest you vote for it and comment on your need for it as well.
I'm still retired, but couldn't resist answering this one since it has come up so many times.
Best Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM Retired
------------------------------
Original Message:
Sent: Wed April 23, 2025 09:41 AM
From: Shah Wajahat
Subject: JSON validation error message
Dear Team,
When validation is failed using validation policy it give the default message
"temporary::675: [JSV0005] Invalid string: the minimum length must be at least 1 (got only 0)."
it does not show the field name.
Is there any way to show the exact field name?
Thank you
------------------------------
Shah Wajahat
------------------------------