When no code is entered, as well as lat & long the summits elevation must also be entered (that makes sense).
I wonder if you'd like to put on your "to do" list for the next time you work on the webpage - if no SOTA code entered, all three other fields must be entered and pop up a message saying missing mandatory field (or something like that) rather than having an error 422 coming up.
From DD5LP:
When no code is entered, as well as lat & long the summits elevation must also be entered (that makes sense).
I wonder if you'd like to put on your "to do" list for the next time you work on the webpage - if no SOTA code entered, all three other fields must be entered and pop up a message saying missing mandatory field (or something like that) rather than having an error 422 coming up.