Skip to content
HTTP Request Body I...
 
Notifications
Clear all

HTTP Request Body Issues

7 Posts
2 Users
0 Reactions
4 Views
Leian_12
(@leian_12)
Posts: 4
Active Member
Topic starter
 

Hi there, I'm encountering an issue with an HTTP request and can't seem to resolve it. When the initial part of the body is correct, the {{LOGO}} placeholder appears as undefined. I've double-checked everything, and I'm confident the problem lies in how the expression is written, but I lack the expertise to correct it. ChatGPT has been providing the same unhelpful advice. Occasionally, the body text changes to "invalid syntax". Any help would be greatly appreciated!

 
Posted : 14/07/2025 5:50 pm
rhyswynn
(@rhyswynn)
Posts: 8
Active Member
 

What does LOGO represent, and where is that value originating from?

Could you share an example of the input side of that node, illustrating where LOGO appears after the last node executed?

 
Posted : 14/07/2025 6:13 pm
Leian_12
(@leian_12)
Posts: 4
Active Member
Topic starter
 

Hi there! Thanks for getting back to me.

:folded_hands:

{{LOGO}} is a text placeholder within my Google Slides template. I manually inserted this text into a shape or text box, and my goal is to replace it with an image retrieved from Airtable.

The data from Airtable is processed via a “Search Records” node. This node includes a field named Logo which is an array structured like this:

"Logo": [
  {
    "url": "https://example.com/image.png"
  }
]

Subsequently, in the HTTP Request node, I attempt to send the following request to Google Slides:

{
  "requests": [
    {
      "replaceAllShapesWithImage": {
        "imageUrl": "{{$node["Search records"].json["fields"]["Logo"][0]["url"]}}",
        "replaceMethod": "CENTER_INSIDE",
        "containsText": {
          "text": "{{LOGO}}",
          "matchCase": true
        }
      }
    }
  ]
}

However, when I execute this, it either indicates that "{{LOGO}}" is undefined or results in a syntax error (specifically in the imageUrl part). I'm aiming to ensure that Google Slides correctly replaces the placeholder with the image URL sourced from Airtable.

 
Posted : 14/07/2025 6:34 pm
rhyswynn
(@rhyswynn)
Posts: 8
Active Member
 

Ah, that's because {{ }} is a special character combination for callin.io, so it's attempting to resolve it to something rather than sending it 'as is'.

You could try escaping those characters; it should work as they are the same characters used to escape JSON itself, but I'm not entirely certain this will function as expected.

{{LOGO}\}

You might consider using a different token for your Google Sheets replacement to sidestep this issue entirely.

 
Posted : 14/07/2025 6:41 pm
Leian_12
(@leian_12)
Posts: 4
Active Member
Topic starter
 

Thanks, but it's still not functioning.

:frowning:

I'm not sure I grasp the different token solution. How would that completely resolve the issue?

 
Posted : 14/07/2025 9:23 pm
rhyswynn
(@rhyswynn)
Posts: 8
Active Member
 

You could try this:

{{ “{{LOGO}}” }}

 
Posted : 14/07/2025 9:50 pm
Leian_12
(@leian_12)
Posts: 4
Active Member
Topic starter
 

Thanks for the assistance! It didn't quite work, but I managed to resolve it by adding another set node to isolate the specific information I needed, which simplified the expression considerably (not the perfect solution, but it was the only way I could get it functioning lol).

 
Posted : 15/07/2025 3:16 pm
Share: