I am using, contentType=“application/xml”) to read an XML from restful web service, but when I use this code I am getting below error

com.inductiveautomation.ignition.common.script.JythonExecException: Traceback (most recent call last): File “”, line 4, in IOError:

at org.python.core.Py.fromIOException(

at org.python.core.Py.IOError(

at com.inductiveautomation.ignition.common.script.builtin.AbstractNetUtilities.httpGet(

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)


at com.inductiveautomation.ignition.common.script.ScriptManager$


at org.python.pycode._pyx555.f$0(:10)

at org.python.pycode._pyx555.call_function()



at org.python.core.Py.runCode(

at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(

at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(


at java.util.TimerThread.mainLoop(Unknown Source)

at Source)

Caused by: org.python.core.PyException: Traceback (most recent call last): File “”, line 4, in IOError:

… 20 common frames omitted

Can you post your code as well?

Is that the full error message or is there more to it?

Have you tried using a restful API tool to confirm outside of Ignition that you are getting back what you expect?