Problems constructing Headers in pipelines 'make request' channel
I'm trying to send a request to the fedex api for checking package status. I have everything working up to the step where the actual request is being made and it appears the headers are not being constructed properly by the pipeline channel:
Here, I'm just using the example, but instead of headers like:
X-One:One
X-Two:Two
I'm getting this weird structure where it's only passing the names and values as arrays? This keeps getting rejected by the fedex api stating that the token is missing.
I'm sending the headers like this, per the instructions beneath the headers section, but I get the same malformed result in the output:
Has anyone else run into this or knows what the problem is here? I've been stuck on this for hours.
It ended up that I needed to add the int filter to my tracking number: {{a.tracking|int}}. It was passing it with .0 after which was causing the error.