Ugh, 422s are the worst.
One time, I got hit with this because the API expected a *specific* case for field names (like "userName" vs "username"). Check the docs for case sensitivity!
Also, if the API uses enums, make sure your values match *exactly*. No "pending" when it wants "PENDING".
One time, I got hit with this because the API expected a *specific* case for field names (like "userName" vs "username"). Check the docs for case sensitivity!
Also, if the API uses enums, make sure your values match *exactly*. No "pending" when it wants "PENDING".
