Hi.
I’m using AeroAPI and works well, however I’m unable to receive callbacks.
Apparently, the alert registration works fine, as I get the Location response with the alert ID, but I never ever received a callback.
This is a sample payload I use for registering an alert:
{
"events": [
"departure",
"arrival",
"cancelled",
"diverted"
],
"ident": "UAL987-1780548628-fa-544p",
"impending_departure_minutes": [
60,
30
],
"impending_arrival_minutes": [
30,
15
],
"target_url": "https://my.domain/flight-tracking/alert/callback",
}
fa_flight_id is obtained from a flight validation call, to ensure it’s correct.
What could prevent the POST calls to be received? Is there any log on the AeroAPI portal to check if they had any error contacting our receiver? Any way to debug it?
I checked with curl and the endpoint is reachable.
thanks
