Problem with REST Step in Flow Designer

Randave Winston
Tera Contributor

Hi. I have an action which has a REST Step that calls to a third-party API. The problem is that these characters %EF%BB%BF are appended to the URL.

For example:

https://ipinfo.io/8.8.8.8%EF%BB%BF/json

8.8.8.8 is an input. Because of the appended characters, this error appeared:

Invalid uri 'https://ipinfo.io/8.8.8.8/json': escaped absolute path not valid

Now, I've already managed to remove the characters from the URL but I need to know what is the cause of this because in other devices, this does not occur. Has anyone encountered this?

 

 

33 REPLIES 33

Claude DAmico
Kilo Sage

That depends... I used a URL decoder (https://www.urldecoder.org/) to see how the inserted special characters are interpreted, and I'm seeing that different character sets are interpreting actual characters while UTF-8 and ASCII are removing them. How is the URL being constructed?

Claude E. D'Amico, III - CSA

Harriet K
Mega Guru

This is happening to me too! But it's occurring in San Diego version.

My REST step takes values dynamically and plug them into the variables.  This used to work before the upgrade, but now, it would append the URI with %EF%BB%BF.

Example:

Invalid uri 'https://111.11.11.11/wapi/v2.9/record:host?name=test%EF%BB%BF&view=test%EF%BB%BF': Invalid query

Where is %EF%BB%BF coming from??

Is this a bug?  Please advise.

Thanks!
Harriet

 

Harriet K
Mega Guru

Hi, @Randave Winston Bachini ,

How do you remove the characters from the URL though? 

Do you use a Script step after your REST step to remove the appended characters?

Thanks in advance!

Harriet

 

Aidan
Tera Guru

I've been experiencing this issue when using Action inputs and the REST API step.

Seems like the characters are being added when adding data pills to resource URL or query parameters.  

Did you find a workaround?