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

@Matt Steill It worked when I re-edited the field (drag and drop the datapill again) and saved the action using Firefox. Thank for the information @Kristy Merriam. I was using Edge and had the same problem.

Just to be clear, the Chromium based browsers are adding the spurious character on data pills and on Query Parameter names.  You can see it in the execution by clicking on the constructed URL and switch to Code on the buttons.  It really makes no sense as I copied and pasted into an editor that can show extra characters but they do not copy for some reason which makes me think it is a NUL (0x00).  Since you cannot see it on screen, this should be sent out by ServiceNow in an email to let everyone know and it should be opened as a known issue so we would find it when searching.  I spent hours looking for it and trying all sorts of crazy work arounds, only thing that works is to use Firefox.  Chrome and Edge both have this issue, being that they are both Chromium based.

@Bradley Marin It hasn't anything to do with ServiceNow itself, it is related to the browser.  Chromium based browsers (Chrome, Edge, etc) all have this issue regardless of the version of ServiceNow.  Switch to FireFox and the issue just goes away.

Aoife

Kristy Merriam
Administrator
Administrator

Hi all,

This is something new that cropped up after the latest update to Chrome in early September. This will happen if you create or edit any of those REST actions using the latest Chromium update (so Edge, Chrome, etc. are all impacted). I would suggest either downgrading if you can OR using a different browser to edit or create those actions in Flow Designer.

You should be able to correct the issue with any existing flows you're having challenges with by simply editing all the text fields in the action and saving a browser such as FireFox or Safari.

Hi Kristy,

Thanks so much for your responses in this thread Is this something ServiceNow is going to address in a future patch or update? I was unable to find anything related to this on the hi portal, but was glad to see we're not the only ones experiencing this!