You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: When user submit input, I will check is it the user id exist in the database. If not exist it will return a custom error message. The following is my sample code snippet.
Support plan
Context
How can we help?
Scenario: When user submit input, I will check is it the user id exist in the database. If not exist it will return a custom error message. The following is my sample code snippet.
Expected output:
"message": "Invalid user id."
Actual output:
"message": "Invalid user id." (userId)
It automatically add the field name into my error message. Is there any way to remove it?
The text was updated successfully, but these errors were encountered: