Author Topic: NWPS API 403 Error  (Read 848 times)

0 Members and 1 Guest are viewing this topic.

Offline colonieweather

  • Senior Contributor
  • ****
  • Posts: 153
    • Colonie Weather Online
NWPS API 403 Error
« on: January 04, 2025, 09:19:50 AM »
I've been using the API since it was launched last year and now, I'm getting 403 errors when making calls via CRON (every 15 minutes).

I'm guessing my host server is being blocked for some reason?
Davis Vantage Pro 2 Plus
WeatherLink v6.0.5
colonieweatheronline.com
Wx Underground - KNYCOLON3
APRS/CWOP - EW0288

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9690
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWPS API 403 Error
« Reply #1 on: January 04, 2025, 10:26:37 AM »
It could be due to too high a frequency of accesses.

What API queries are you running and how often?
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline colonieweather

  • Senior Contributor
  • ****
  • Posts: 153
    • Colonie Weather Online
Re: NWPS API 403 Error
« Reply #2 on: January 04, 2025, 11:21:41 AM »
I'm doing 18 calls every 15 minutes.  A call for current observation, observed and forecast for 6 gauges.

i.e. for one of the gauges:

https://api.water.noaa.gov/nwps/v1/gauges/ALBN6
https://api.water.noaa.gov/nwps/v1/gauges/ALBN6/stageflow/observed
https://api.water.noaa.gov/nwps/v1/gauges/ALBN6/stageflow/forecast
Davis Vantage Pro 2 Plus
WeatherLink v6.0.5
colonieweatheronline.com
Wx Underground - KNYCOLON3
APRS/CWOP - EW0288

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9690
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWPS API 403 Error
« Reply #3 on: January 04, 2025, 11:50:27 AM »
I'd suggest writing to nco.ops@noaa.gov to report the issue. 
Be sure to include the IP address of the webserver in your message.  Some automated process may have put your server on a block-list and needs to be removed.

PS .. I had an issue with mapservices.weather.noaa.gov and 403 responses today.  They addressed the problem and it was solved quickly.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP