.json feed stopped sending current conditions as of 8 am this morning (Dec. 03).

  • 2
  • Problem
  • Updated 5 years ago
Contents of json feed:

{
"response": {
"version":"0.1",
"termsofService":"http://www.wunderground.com/weather/a...",
"features": {
"conditions": 1
}
, "results": [
{
"name": "London",
"city": "London",
"state": "ON",
"country": "CA",
"country_iso3166":"CA",
"country_name":"Canada",
"zmw": "00000.1.71623",
"l": "/q/zmw:00000.1.71623"
}
,
{
"name": "London",
"city": "London",
"state": "ON",
"country": "CA",
"country_iso3166":"CA",
"country_name":"Canada",
"zmw": "00000.17.71622",
"l": "/q/zmw:00000.17.71622"
}
]
}
}

Not returning current weather, temperature or weather icon.
Photo of tjwb

tjwb

  • 1 Post
  • 0 Reply Likes

Posted 5 years ago

  • 2
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
Thats what happens when there is an ambiguous search. What was the original URL you were hitting?
Photo of GEOSoft

GEOSoft

  • 26 Posts
  • 1 Reply Like
Brendan
I'm having the same issue with XML today. It's been working fine for months now until sometime this morning.
Photo of tbugler

tbugler

  • 2 Posts
  • 0 Reply Likes
I have been using the same URL for months:

http://api.wunderground.com/api/(my api key)/conditions/q/Canada/London.json

Replacing London.json with Toronto or Kitchener returns current conditions.
Photo of tbugler

tbugler

  • 2 Posts
  • 0 Reply Likes
Response from support:

Hello,

It looks like we have a duplicate of London, Canada in the database. This results in an ambiguous return.

We'll look into fixing the database, but you can use the following feed in the meanwhile:

api.wunderground.com/api/(apikey)/conditions/q/zmw:00000.1.71623.json

Please let me know if you need anything else.
Photo of GEOSoft

GEOSoft

  • 26 Posts
  • 1 Reply Like
I just pinned my problem down to no return values for any of the Almanac entries. That is for Nanaimo, BC. My own fault for not adding error checking to that section.