Returned alerts for same place differ from Java and from a web browser

  • 2
  • Problem
  • Updated 1 year ago
I have developed a Java web app that acceses the following API service:,10.410622.json

and it returns the following data which is not correct, as I am asking for a place near Oslo and it returns data for New York:

{  "response": {
  "features": {
  "alerts": 1
,"query_zone": "151",
"alerts": [
"type": "FLO",
"description": "Flood Warning",
"date": "10:56 PM EST on January 25, 2017",
"date_epoch": "1485402960",
"expires": "7:00 PM EST on January 27, 2017",
"expires_epoch": "1485561600",
"message": "\u000AThe National Weather Service in Jacksonville FL has issued a \u000A\u000A* Flood Warning for \u000A the Satilla river at Waycross.\u000A* Until Friday evening...or until the warning is cancelled.\u000A* At 10:45 PM Wednesday the stage was 16.0 feet.\u000A* Minor flooding is occurring and minor flooding is forecast.\u000A* Flood stage is 16.0 feet.\u000A* Forecast...the river will continue rising to near 16.5 feet by \u000A tomorrow early afternoon. The river will fall below flood stage \u000A Friday early afternoon.\u000A* 16.0 feet...flooding of agriculture and timberlands \u000A begins. On the Ware County side, the Jamestown Road boat ramp is \u000A flooded. On the Pierce/Brantley County line at the State Road 121 \u000A bridge the boat ramp and dirt access roads are flooded.\u000A\u000A\u000A\u000A Fld observed 7am EST / 8am EDT forecast\u000Alocation stg stg day time Thu Fri Sat sun Mon\u000A\u000ASatilla\u000A Waycross 16 16.0 Wed 11 PM 16.2 15.4 14.9 14.5 /\u000A\u000A\u000A\u000A\u000ALat...Lon 3128 8241 3121 8233 3120 8228 3124 8229 3127 8234 3132 8237\u000A\u000A\u000AShuler\u000A\u000A\u000A\u000A",
"phenomena": "FL",
"significance": "W",
"ZONES": [
"StormBased": {

This same URL returns the folowing data when I place it in a Web browser:

  "response": {
"version":"0.1", "termsofService":"", "features": { "alerts": 1 } } ,"query_zone": "999", "alerts": [ { "type": "WND", "wtype_meteoalarm": "1", "wtype_meteoalarm_name": "Wind", "level_meteoalarm": "2", "level_meteoalarm_name": "Yellow", "level_meteoalarm_description": "The weather is potentially dangerous. The weather phenomena that have been forecast are not unusual, but be attentive if you intend to practice activities exposed to meteorological risks. Keep informed about the expected meteorological conditions and do not take any avoidable risk.", "description": "SV sterk kuling, 20 m/s, 72 km/h på utsatte steder/SW gale force 8 in exposed areas.", "date": "1970-01-01 00:00:00 GMT", "date_epoch": "NA", "expires": "2017-01-26 22:59:00 GMT", "expires_epoch": "NA", "message": "SV sterk kuling, 20 m/s, 72 km/h på utsatte steder/SW gale force 8 in exposed areas.)", "phenomena": "NA", "significance": "NA", "attribution": "Information provided by , <a href=''>EUMETNET - MeteoAlarm</a> Note: Time delays between this website and <a href=''></a> are possible. For the most up-to-date information about alert levels as published by the participating National Meteorological Services, please visit <a href=''>Meteoalarm</a>. For terms of use of this information, and copyright information, see <a href=''>Meteoalarm</a> Terms of Use." } ] }
which is the correct response.

Has anyone had the same problem?
Photo of idoia Murua

idoia Murua

  • 1 Post
  • 0 Reply Likes

Posted 1 year ago

  • 2

Be the first to post a reply!