Problem with REST Step in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2022 01:29 AM
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?
- 5,744 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2022 11:13 AM - edited ‎10-26-2022 11:23 AM
Can you create a known issue doc and reference a problem # for this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2022 06:40 AM
I also have the same problem, don't have the option to changes browsers, and am not a scripting guru. Can someone please provide a sample of the script work around to resolve the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2022 09:38 AM - edited ‎10-17-2022 09:41 AM
You can set the resource path by toggling scripting on, and then combining the values you need to compose the resource path url. After that, apply javascript replace function by removing any non ascii character. Ugly, but it worked for me.
Ex.:
var resource_path = fd_data._1__preprocessing.sitelocation+
'/_api/Web/lists/GetByTitle('+fd_data.action_inputs.list_name+')/items('+fd_data.action_inputs.list_item_id+')';
return resource_path.replace(/[^\x00-\x7F]/g, "");
(I wasn't able to apply a string replace transform function on the data pills, the byte order mark was still there)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2022 12:04 PM
So, how did you remove the characters from the URL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2022 12:13 PM
Three alternatives, as far as I know:
- Downgrade browser version to avoid September update (chromium based browsers)
- Use another browser to build on Flow Designer (Firefox, Safari)
- A "toggle scripting on" approach where you'd place a data pill