Message

foo must be between -180 and 180

Explanation

The value for elements expressing longitude must be a number between -180 and 180.

Solution

Use a number between -180 and 180 for the specified value.

Not clear? Disagree?

You might be able to find help in one of these fine resources.