Http integration does not provide gateway_id in metadata

Hello

I have several gateways , devices & applications but none is returning “gtw_id” or other information (rssi, snr …) associated as decribed in the docmentation, I just get “time”

{“app_id”:“xxxxx”,“dev_id”:“xxx”,“hardware_serial”:“xxxx”,“port”:1,“counter”:0,“payload_raw”:“CAAAAABIADwIdK5I”,“payload_fields”:{“bytes”:“080000000048003C0874AE48”,“port”:1},“metadata”:{“time”:“2018-12-08T10:48:07.149609282Z”},“downlink_url”:“https://integrations.thethingsnetwork.org/ttn-eu/api/v2/down/xxx/test?key=ttn-account-v2.xxxx”}

something to configure to get more ??

Thanks

Did it ever work for you?

Are you showing us the payload that TTN gives you, or did you already convert the JSON text to some object in your programming language, and showing that result (as JSON)? If you already did some processing: are you sure your processing supports arrays? (The gateways part in the metadata is an array.) What does using something like https://alternativeto.net/software/requestbin/ or https://rbaskets.in give you?

Hello

I’m copying from https://m2aim.requestcatcher.com/ to test and I have the same result with my own application (Thingworx service in javascript)

I put two http integrations for this test

any update ?
I have still no information about gateways which could help to position them regarding devices location

I don’t feel like you answered my earlier questions. We need details, details and then: details.

1 Like

sorry I tested with requestcatcher.com as an alternate as it seems that https://alternativeto.net/software/requestbin/ is no more exsiting and it did not work

I tested again with https://rbaskets.in/ and I have the data

{“app_id”:“m2modlight”,“dev_id”:“xxx”,“hardware_serial”:“xxxx”,“port”:2,“counter”:867,“payload_raw”:“D5gRhEMTz08zFyAA”,“payload_fields”:{“bytes”:“xxxx”,“port”:2},“metadata”:{“time”:“2018-12-26T14:50:42.718277463Z”,“frequency”:867.5,“modulation”:“LORA”,“data_rate”:“SF7BW125”,“coding_rate”:“4/5”,“gateways”:[{“gtw_id”:“eui-5410ec2604d90000”,“timestamp”:3105311000,“time”:“2018-12-26T14:50:43Z”,“channel”:0,“rssi”:-33,“snr”:7,“rf_chain”:5,“latitude”:xx,“longitude”:-xxx,“altitude”:32}]},“downlink_url”:“https://integrations.thethingsnetwork.org/ttn-eu/api/v2/down/m2modlight/test?key=ttn-account-v2.3Mv-xxxx”}

So I understand that I have an issue decoding the JSON such as requestcatcher.com has also.
I’ll further investigate.