Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

COD 400

Kevin Sep 11, 2018 07:07PM BST

I make the call

http://api.openweathermap.org/data/2.5/weather?lat=38.25&long=-85.60&appid=[myKey]

but receive this error:

{"cod":"400","message":"Nothing to geocode"}

Why is this issue arising?


Up 0 rated Down
avladimirova@owm.io Sep 12, 2018 07:09PM BST OpenWeatherMap Agent

Hello,
Thank you for using our services and for your question.

There is the typo in API request: “long” instead of “lon”. Therefore you receive the error.

Please specify these parameters correctly:
lat, lon coordinates of the location of your interest

https://api.openweathermap.org/data/2.5/weather?lat=38.25&lon=-85.60&appid=YOUR_API_KEY

Please do not hesitate to contact us should you have any further queries.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
9eda11838f597e7a95b6a1c991dcae0a@openweathermap.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete