# Getting following error while accessing document through URL using Web Browser Component

**URL:** <https://forum.inductiveautomation.com/t/getting-following-error-while-accessing-document-through-url-using-web-browser-component/37406>\
**Category:** Ignition\
**Created:** [August 5, 2020, 3:04pm UTC](https://forum.inductiveautomation.com/t/getting-following-error-while-accessing-document-through-url-using-web-browser-component/37406 "2020-08-05T15:04:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rushikesh.jadhav](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@rushikesh.jadhav](https://forum.inductiveautomation.com/u/rushikesh.jadhav)\
**Post date:** [August 5, 2020, 3:04pm UTC](https://forum.inductiveautomation.com/t/getting-following-error-while-accessing-document-through-url-using-web-browser-component/37406/1 "2020-08-05T15:04:17Z")

</div>

08:09:31 SEVERE: The NetworkDelegate.onBeforeURLRequest() method has thrown exception:  
java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - Error at index 1 in: “d,”  
at java.base/java.net.URLDecoder.decode(Unknown Source)  
at java.base/java.net.URLDecoder.decode(Unknown Source)  
at com.teamdev.jxbrowser.chromium.internal.FormDataParser.b(SourceFile:65)  
at com.teamdev.jxbrowser.chromium.internal.FormDataParser.parse(SourceFile:36)  
at com.teamdev.jxbrowser.chromium.internal.UploadDataFactory.create(SourceFile:29)  
at com.teamdev.jxbrowser.chromium.NetworkService$a.onMessageReceived(SourceFile:1460)  
at com.teamdev.jxbrowser.chromium.internal.ipc.q.a(SourceFile:1085)  
at com.teamdev.jxbrowser.chromium.internal.ipc.r.run(SourceFile:69)  
at com.teamdev.jxbrowser.chromium.internal.t.run(SourceFile:79)  
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)  
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.base/java.lang.Thread.run(Unknown Source)  
at com.teamdev.jxbrowser.chromium.internal.GuardedThread.run(SourceFile:35)

Please help with this!

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 5, 2020, 3:23pm UTC](https://forum.inductiveautomation.com/t/getting-following-error-while-accessing-document-through-url-using-web-browser-component/37406/2 "2020-08-05T15:23:08Z")

</div>

The URL you’re supplying is (apparently) invalid - try running it through the `urlEncode` expression function, perhaps?
