Need help: Troubleshoot Error while using JSON template to create JSON Object

Hi Guys,

I have to make a Post API call to send some data.

The JSON body that API is expecting is as follows

{
    "tracking_urls": ["https://www.instagram.com/p/C5xojT2yMyd/","https://www.youtube.com/shorts/hMqpW_oTeaQ"],
    "name": "Test Campaign - 2024",
    "brand_name": "Test Brand",
}

But when I create JSON object by using JSON Template columns by including values from my respective column

{
  "tracking_urls": [
    "https://www.instagram.com/p/DA6AeOgND_Y/"
  ],
  "name": "Testing Saree Campaign",
  "brand_name": "Kay Sarees"
}

This is my template column

{
    "tracking_urls": [$postedContentURL],
    "name": $Campaign_Name,
    "brand_name": $brandname_ylytic
}

When I am hitting the API it gives me 400 error in glide, but in postman it works fine. Is it because columns are bot getting values by the time API is called?

Thank you in advance

Regards,
Dilip

I got it to work. There was a small issue with values set in template.

Thank you.

Regards,
Dilip