api webhook language error

i have some problem with my webhook url

 

http://api.XXXX.com/send.php?recipient=+000000000&apikey=XXXX&text=hello%0A<<name>>

 

i get as result : 

 

hello
john

 

 my problem was when the [name] is in Arabic language for example محمد

iget this error

 Error 1 : The webhook url 'http://api.XXXX.com/send.php?recipient=000000000&apikey=XXXXXX&text=hello%0Aمحمد is not well formed

also i try encode url for arabic filed

 

http://api.XXXXXX.com/send.php?recipient=0000000&apikey=XXXXXXXX&text=hello%0A<<encodeurl([name])>>

 

Error 1 : The webhook url 'http://api.XXXXXXX.com/send.php?recipient=00000000&apikey=XXXXXXXXX&text=hello%0A%D9%85%D8%AD%D9%85%... is not well formed

0 5 139
5 REPLIES 5

@Steve @Joseph_Seddik 

any way to go around this error 😓

 

I'm sorry, I don't know.

Things to try:

  1. Check whether the URL has spaces. Does the Recipient part in the URL contain spaces? 
  2. Try to URL encode the whole text field, manually introducing a Line Feed in the expression:

    text=<<ENCODEURL(CONCATENATE("Hello", "
    ", [name]))>>

  3. Use ENCODEURL([name]) in a column beforehand, then add this column to the expression.

    text=Hello%0A<<urlEncodedColumn>>

thanks

1- its no spaces in the url

2- its work normal if its not contain line break "%0A"

3- i try encodeurl in a column as you suggest but same result its not work

So does option 2 work with the manual line feed: “

”?

كل عام وأنتم بخير 

وانت بصحة وسلامة

sorry for the late response 

i was try many and many way to get around but not work

about option 2 yes its work but doesn't help because i want break the line

also its not matter of language  because when i use same column and functions in action "open web site" its work good

Top Labels in this Space