# \[BUG\] system.opcua.callMethod not found

**URL:** <https://forum.inductiveautomation.com/t/bug-system-opcua-callmethod-not-found/25421>\
**Category:** Ignition Early Access\
**Created:** [May 30, 2019, 2:09am UTC](https://forum.inductiveautomation.com/t/bug-system-opcua-callmethod-not-found/25421 "2019-05-30T02:09:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshdunstan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joshdunstan/32/43306_2.png) [@joshdunstan](https://forum.inductiveautomation.com/u/joshdunstan)\
**Post date:** [May 30, 2019, 2:09am UTC](https://forum.inductiveautomation.com/t/bug-system-opcua-callmethod-not-found/25421/1 "2019-05-30T02:09:45Z")

</div>

Running the latest nightly build.

```auto
Traceback (most recent call last):
  File "<buffer>", line 2, in <module>
AttributeError: 'com.inductiveautomation.ignition.designer.gui.tool' object has no attribute 'opcua'

```

Using the example code:

```auto
result = system.opcua.callMethod(
        "Ignition OPC-UA Server",
        "ns=0;i=2253",
        "ns=0;i=11492",
        [1]
    )
print result[0]
print result[1]
print result[2]

```

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 30, 2019, 2:56am UTC](https://forum.inductiveautomation.com/t/bug-system-opcua-callmethod-not-found/25421/2 "2019-05-30T02:56:53Z")

</div>

It’s only available in the gateway scope.

---

<div class="post-metadata">

**Author:** ![joshdunstan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joshdunstan/32/43306_2.png) [@joshdunstan](https://forum.inductiveautomation.com/u/joshdunstan)\
**Post date:** [May 30, 2019, 3:20am UTC](https://forum.inductiveautomation.com/t/bug-system-opcua-callmethod-not-found/25421/3 "2019-05-30T03:20:48Z")

</div>

Well that makes sense then! Thanks Kevin
