what is format:html param? causing issues with my app

I’m developing a Ruby on Rails app. I have set some Flight alerts to come from FlightAware. My app receives the json being sent just fine. But one of the parameters causes my app not to reply correctly.

For some reason when “format”:“html” is included, I get a 406 Error, but if I remove only that one parameter, its back to 200 OK. What is that parameter and is there a way I can either change it, or remove it from what FlightAware is sending me? Here is the json I receive from you:

{"long_desc":"American Airlines / American Eagle #2811 (E135) departed Dallas/Fort Worth Intl (KDFW) at 03:46PM CDT enroute to KACT (Waco Rgnl) for an estimated arrival at 04:00PM CDT",**"format":"html"**,"action":"incoming_notification","summary":"EGF2811 has departed KDFW for KACT","controller":"flights","short_desc":"EGF2811 (E135) departed KDFW @ 03:46PM CDT for KACT ETA 04:00PM CDT","eventcode":"departure","flight":{"route":"NELYN3 ACT","filed_altitude":140,"filed_departuretime":1372365900,"actualdeparturetime":1372365960,"destination":"KACT","actualarrivaltime":0,"actual_blockin_time":0,"ident":"EGF2811","origin":"KDFW","faFlightID":"EGF2811-1372138171-airline-0226","filed_time":1372365679,"actual_blockout_time":1372365600,"filed_arrivaltime":1372367700,"aircrafttype":"E135","filed_blockin_time":1372368000,"filed_ete":"00:30:00","reg":"N803AE","filed_airspeed_kts":392,"estimated_blockin_time":1372367400,"filed_blockout_time":1372365900,"estimatedarrivaltime":1372366800,"estimated_blockout_time":0},"alert_id":4781271}

Thanks, i’m happy to answer anything to clarify if I need to.

-Anthony

At least the “format”, “action”, and “controller” elements are not in the JSON that we delivered to you. Something on your side is introducing those values as you read/parse the delivered alert. Here’s the actual internal logging messages (and the raw JSON) that we delivered to you…

Jun 27 15:47:50 victor mc_chan_flightxml[29075]: Send alert 150505380/171673254 to FlightXML push xxxxxxxxxxxxxxxxxxx (user alassiter/2536951): EGF2811 has departed KDFW for KACT
Jun 27 15:47:50 victor mc_chan_flightxml[29075]: (1 of 2) Body: {“long_desc”:“American Airlines / American Eagle #2811 (E135) departed Dallas/Fort Worth Intl (KDFW) at 03:46PM CDT enroute to KACT (Waco Rgnl) for an estimated arrival at 04:00PM CDT”,“short_desc”:“EGF2811 (E135) departed KDFW @ 03:46PM CDT for KACT ETA 04:00PM CDT”,“summary”:“EGF2811 has departed KDFW for KACT”,“eventcode”:“departure”,“alert_id”:4781271,“flight”:{“ident”:“EGF2811”,“aircrafttype”:“E135”,“origin”:“KDFW”,“destination”:“KACT”,“filed_ete”:“00:30:00”,“route”:“NELYN3 ACT”,“faFlightID”:“EGF2811-1372138171-airline-0226”,“reg”:“N803AE”,“filed_altitude”:140,“filed_airspeed_kts”:392,“filed_time”:1372365679,“filed_departuretime”:1372365900,“estimatedarrivaltime”:1372366800,“actualarrivaltime”:0,“actualdeparturetime”:1372365960,“estimated_blockin_time”:1372367400,“filed_blockin_time”:1372368000,“actual_blockin_time”:0,“estimated_blockout_time”:0,“filed_blockout_time”:137236590
Jun 27 15:47:50 victor mc_chan_flightxml[29075]: (2 of 2) 0,“actual_blockout_time”:1372365600,“filed_arrivaltime”:1372367700}}
Jun 27 16:47:50 victor mc_chan_flightxml[29075]: build_json_body was successful on initial attempt

Ok, I see it. thanks, that helped.