Skip to main content
Answer

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

  • October 12, 2023
  • 9 replies
  • 4000 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 \.

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
  • October 12, 2023

Hi @Jeels 

Good question.

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


  • Author
  • Beginner
  • October 12, 2023

Hey, Thanks @Troy Tessalone! :) 

Attached you find the configuration.

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • October 12, 2023

@Jeels 

Can you post a screenshot of the encountered error?


  • Author
  • Beginner
  • October 12, 2023

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
  • October 12, 2023

@Jeels 

The attachments didn’t upload.

 


  • Author
  • Beginner
  • October 13, 2023

@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
  • October 13, 2023

@Jeels 

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

Replace . with \.


  • Author
  • Beginner
  • October 16, 2023

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
  • October 17, 2023

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! 🤗