Message
foo
must be between 1 and 400
Explanation
Image height
must be between 1 and 400.
Solution
Resize your image manually, then specify the new height within range.
Not clear? Disagree?
You might be able to find help in one of these fine resources.