setAlert channels Tcl-style string arguments not working


#1

HI,
In biting my teeth trying to set an alert and i seem to not be able to set the channels argument.

Here is an example url im using:
flightxml.flightaware.com/json/F … &channels={16 e_filed e_departure e_arrival e_diverted e_cancelled}

URL encoded:
flightxml.flightaware.com/json/F … ncelled%7D

reply:
error = “UNCONNECTED: channel_id is not connected: 16”;

Can anyone help me understand the exact format for the channels argument?

Thanks!!


#2

Did you already register your alert end point per flightaware.com/commercial/fligh … rtEndpoint


#3

I did now and it works!!
Sorry for the confusion but i didnt know one must register endpoint before… Might be worth mentioning in the documentation!!

Cheers!