Replies: 1 comment 5 replies
-
This is a known issue. The upstream source of alerts for the API changed the parameter for alert event chains (a new parameter named expiredReferences), and the API has not been updated. This breaks the ability for the API to reconstruct the event chain resulting in expired alerts showing on the active endpoint. You can use the expiredReferences parameter to resolve the chain manually. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am currently querying active alerts for the PDX airport. Via the website I see one heat advisory - https://forecast.weather.gov/MapClick.php?lat=45.5887&lon=-122.5969 but when I query the API (GET https://api.weather.gov/alerts/active?point=45.509,-122.649&message_type=alert&status=actual) I see 3 heat advisories returned, with different issued dates, for the same time period.
Full response: response.json.txt
Reference headers:
Am I querying the API incorrectly? If not, is it safe to dedupe by product ID, and use the latest issued one?
Thanks! This API is truly exceptional, and I've had very few issues with it overall!
Alex
Beta Was this translation helpful? Give feedback.
All reactions