- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2022 03:36 AM
Hi,
In my student instance, I am setting up a flow with a custom spoke containing two custom-made actions: Get Trivia Question and Get Trivia Answer. When I test the flow, I get the error: "Invalid uri 'https://scripting.service-now.com/api/x_snc_now_trivia/trivia/getAnswer?sys_id=f46a14fadb7b2300a7873...': escaped absolute path not valid". The ID in the URI is identical to the Question ID that was passed from Get Trivia Question to Get Trivia Answer. My instructors don't know what is wrong, but they say that the same problem has appeared in the past. Does anyone have an idea?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2022 03:49 AM
It might be you're running into an issue that manifests itself in the latest version of Chromium based browsers (Chrome, Edge etc). It adds an invisible character in some places.
Try doing the same operation in Safari or Firefox, that should resolve it if this is the issue you're running into.
If helpful or correct, please indicate so!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 01:42 PM
Hello Kim,
I followed your instruction to clear hidden character at the end of the string by clicking back space both on the Base URL as well as Resource Path and it worked like a charm..
Thank you,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2022 03:49 AM
It might be you're running into an issue that manifests itself in the latest version of Chromium based browsers (Chrome, Edge etc). It adds an invisible character in some places.
Try doing the same operation in Safari or Firefox, that should resolve it if this is the issue you're running into.
If helpful or correct, please indicate so!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2022 06:05 AM - edited 11-02-2022 06:05 AM
Thanks for your reply. I tried the same thing in Safari and unfortunately I get the exact same error.
I then went to the Action Designer and found that there was a hidden character at the end of the string, I think it was in the getAnswer string. I just clicked backspace at the end of the string and nothing happened so I figure I removed a hidden character there.
Now what happens is that I get a different error message: "Invalid uri 'https://scripting.service-now.com/api/x_snc_now_trivia/trivia/getAnswer?sys_id=f46a14fadb7b2300a7873...': Invalid query".
I get the same error message on both Chrome (which I use normally) and on Safari.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 01:42 PM
Hello Kim,
I followed your instruction to clear hidden character at the end of the string by clicking back space both on the Base URL as well as Resource Path and it worked like a charm..
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2022 09:05 AM
I'm glad it worked for some people. Clearly it removed the error, even if another error remained in my case. Marking it as a solution.