Skip to main content
Best answer

Telegram error: Bad Request: can't parse entities: Character '.' is reserved and must be escaped with the preceding '\'

  • Oct 12, 2023 12:52 PM UTC
  • 9 replies
  • 4605 views

Hey

 

I want to automatize our real estate system and send a Telegram message. It works well in case we don't have any values with .xx in our dateset e.g. living space 65sqm. If we have 65.73sqm there will be the following error:

Step 2. Send Message in Telegram
This Telegram step hit an error.
Error Message: Bad Request: can't parse entities: Character '.' is reserved and must be escaped with the preceding '\'

The Zap will be blocked.

We cannot enter values in the system in full numbers as we have to be accurate for the bank (loans) and according to legislation. Any chance to tell the Zap to simply ignore "." or change it to "," in sending the message?

Best answer by Troy Tessalone

@Jeels 

You can add a Formatter > Text > Replace step for variables that may have a period.

Replace . with \.

View original
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

9 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 12, 2023 2:20 PM UTC

Hi @Jeels 

Good question.

We would need to see screenshots with how your Zap steps are configured to have more context.


  • Author
  • Beginner
  • Oct 12, 2023 3:10 PM UTC

Hey, Thanks @Troy Tessalone! :) 

Attached you find the configuration.

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 12, 2023 3:19 PM UTC

@Jeels 

Can you post a screenshot of the encountered error?


  • Author
  • Beginner
  • Oct 12, 2023 3:35 PM UTC

Here you go. I tested it with rounded numbers and it works. Unfortunately we have to use them so I need to somehow be able to push this to Telegram :) 

 

The step details have another data set as example. Normally the 161.3 should be shown here. I cannot pull this one for example (error occurs already when pulling the data sets)

 

Hope you can help 🤞


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Oct 12, 2023 4:43 PM UTC

@Jeels 

The attachments didn’t upload.

 


  • Author
  • Beginner
  • Oct 13, 2023 9:40 AM UTC

@Troy Tessalone thanks, for me they show up 🤔 Attached once again :) Sorry for the inconvenience.

 

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • Oct 13, 2023 4:35 PM UTC

@Jeels 

You can add a Formatter > Text > Replace step for variables that may have a period.

Replace . with \.


  • Author
  • Beginner
  • Oct 16, 2023 9:45 PM UTC

Thanks @Troy Tessalone I had to upgrade plan and tried it. It works. 

Afterwards I found out that plain text worked actually best and one can save all the work if plain text is an option. Anyway you have been super helpful and patient with me. Thank you so much! 🙏


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • Oct 17, 2023 9:18 AM UTC

That’s great news @Jeels! Glad to hear everything is now working! Also, big thanks to Troy for assisting here.

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗