Question

Webhook returns 400 with {{description}}

  • 12 October 2020
  • 3 replies
  • 98 views

Userlevel 1

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}}"
}
}
]
}

 


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

Userlevel 7
Badge +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?

Userlevel 1

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

 

Userlevel 7
Badge +10

Hi @Bartez 

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