API > Telegram, cannot parse a url as variable

Status: Closed · Asked by johndoe098790 on · 0 views

johndoe098790 — Question ·

Hi everyone,

To monitor my websites uptime, I have made a Telegram channel in which I launch alert to tell me when a site is down.

Problem is, part of the message is the domain name or URL, which contain a dot ( . ) .

So I receive this message:

{
"ok": false,
"error_code": 400,
"description": "Bad Request: can\u0027t parse entities: Character \u0027(\u0027 is reserved and must be escaped with the preceding \u0027\\\u0027"
}

Any idea on how I can parse a whole variable and not escaping just the dots (Which I dont have access to?)

PabblyMember3 — Reply ·

Hello @johndoe098790

We have checked your workflow and figured it out and made some changes to your workflow.

We have added Text Formatter to replace ( with \( and ) with \) as shown below:

We re-executed the failed history and got it worked fine.

Please check the same at your end.

johndoe098790 — Reply ·

Thank you!

Back to all forum threads · Log in to reply