# Calling webservice from view event failed

**URL:** <https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [August 29, 2025, 1:18pm UTC](https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275 "2025-08-29T13:18:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [August 29, 2025, 1:18pm UTC](https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275/1 "2025-08-29T13:18:10Z")

</div>

Hello,

On perspective, I have to call a webservices when my view open.

I have a script who run well in the script console. But When fire from the event, I have a error message. I understand it’s a problem of certificate but I don’t know how to resolve it.

Anyone have an idea ?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/3/93f54c6251b3a64caba3a51e8ff73a22390c0ea8.png)

---

<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 29, 2025, 2:12pm UTC](https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275/3 "2025-08-29T14:12:58Z")

</div>

In the script console, the outgoing HTTP call is being made by your _local_ computer, wherever you're running the designer. To the operating system, it's an HTTP call made by your local _user_, since it's just a standard program running as you.

**Everywhere** in Perspective, your scripts are actually running on the Ignition gateway.  
That means the outgoing HTTP call is coming from wherever Ignition is actually installed, and by default is running as a limited privilege "service" user. If the host OS is Windows, it's running as the special 'service' account `LOCAL_SYSTEM` that has limited access to external networks.

In other words: Engage with your IT department to see why the host that runs the gateway cannot reach the other resource.

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [August 29, 2025, 2:38pm UTC](https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275/4 "2025-08-29T14:38:12Z")

</div>

Ok, I will contact the IT department.

Thank you

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [September 2, 2025, 7:04am UTC](https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275/5 "2025-09-02T07:04:04Z")

</div>

I don’t think it’s a network issue. I can access to the webservice (swagger UI) from edge browser on the server.

I think I need to import a certificate somewhere in Ignition but I’m not sure where.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 2, 2025, 11:54am UTC](https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275/6 "2025-09-02T11:54:51Z")

</div>

> [@Raphael](#):
>
> I don’t think it’s a network issue

That isn't what Paul is saying.

> [@paul-griffith](#):
>
> Engage with your IT department to see why the host that runs the gateway cannot reach the other resource.

This can be purely a permissions issue within your Ignition Gateway's OS, at the service level. This would be totally independent of a browser's behavior running in a desktop session in the same machine.

Go back to your IT. Share this post.

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [September 9, 2025, 8:42am UTC](https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275/7 "2025-09-09T08:42:33Z")

</div>

Problem solved.

I needed to import the server certificate in the `%gateway installation directory%data/certificates/supplemental` folder

> **[Security Certificates | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/platform/security/security-certificates)**
>
> A security certificate, also known as a digital certificate, is used to provide trust between connections. Trusted certificates establish the identity, authenticity and reliability of incoming and outgoing traffic.

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [February 13, 2026, 11:31am UTC](https://forum.inductiveautomation.com/t/calling-webservice-from-view-event-failed/110275/8 "2026-02-13T11:31:13Z")

</div>

Update.

The previously given solution worked for several months (until the certificates were renewed). The final solution was to modify the Ignition service account as @paul-griffith had suggested.
