FlightAware Discussions

SetAlert upsert with alert_id = -1 is still creating new alert

We’ve supplying ident and alert_id=-1 but the API is still creating a new alert instead of upserting.

Any help would be appreciated!
Here’s my URL: https://xxxxxxx:xxxxxxx@flightxml.flightaware.com/json/FlightXML2/SetAlert?ident=MAS115-1581399936-airline-0045&alert_id=-1&channels={16 e_departure e_arrival e_diverted e_cancelled}&enabled=true. I’m not doing anything unusual with the request and have tried alert_id in various positions but am still receiving a new alert id each time I make a GET with this exact URL.

I’ve identified a fix that will correct this, but it will probably be deployed to our production environment early next week. Thanks for the report.