Skip to main content
Question

Webhook returns 400 with {{description}}

  • October 12, 2020
  • 3 replies
  • 103 views

Bartez

Hi, i’m new to webhooks and i don’t understand one moment. When i try to send "description": "{{101496900__description}}" webhook returns “400 Bad Request”

{
  "embeds": 
  [
    {
      "title": "{{101496900__title}}",
      "description": "{{101496900__description}}",
      "timestamp": "2020-10-12T07:35:27.385Z",
      "image": {
        "url": "{{101496900__raw__enclosure__@url}}"
      }
    }
  ]
}

but if i change {{101496900__description}} to {{101496900__link}} or any random text everything works fine.

{
  "embeds": 
  [
    {
      "title": "{{101496900__title}}",
      "description": "{{101496900__link}}",
      "timestamp": "2020-10-12T07:35:27.385Z",
      "image": {
        "url": "{{101496900__raw__enclosure__@url}}"
      }
    }
  ]
}

But it’s not for all sites, one site send description without errors with the same code

{
  "embeds": 
  [
    {
      "title": "{{101742728__title}}",
      "description": "{{101742728__description}} \n\n Читать далее - {{101742728__link}}",
      "timestamp": "2020-10-12T07:35:27.385Z",
      "footer": {
        "text": "{{101742728__raw__creator}}"
      },
      "image": {
        "url": "{{101742728__raw__enclosure__@url}}"
      }
    }
  ]
}

 

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

AndrewJDavison_Luhhu
Forum|alt.badge.img+10

Hi @Bartez 

That {{notation}} means this is where you’ve tried to map fields from a previous step in the zap - but when it’s run live, those fields have been blank.

Could you post a screenshot of the webhook step so we can try and troubleshoot?


Bartez
  • Author
  • Beginner
  • 1 reply
  • October 16, 2020
AndrewJDavison_Luhhu wrote:

Could you post a screenshot of the webhook step so we can try and troubleshoot?

 


AndrewJDavison_Luhhu
Forum|alt.badge.img+10

Hi @Bartez 

Sorry I missed your reply. Did you get this worked out? From what I see, your setup looks correct.