# OPC-UA User Access Denied

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-user-access-denied/81406>\
**Category:** General Discussion\
**Created:** [November 2, 2023, 6:33pm UTC](https://forum.inductiveautomation.com/t/opc-ua-user-access-denied/81406 "2023-11-02T18:33:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IcedMocha12](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@IcedMocha12](https://forum.inductiveautomation.com/u/IcedMocha12)\
**Post date:** [November 2, 2023, 6:33pm UTC](https://forum.inductiveautomation.com/t/opc-ua-user-access-denied/81406/1 "2023-11-02T18:33:16Z")

</div>

Hi All,

I'm receiving the following error for OPC Connections:

> UaServiceFaultException: status=Bad\_UserAccessDenied, message=User does not have permission to perform the requested operation.  
> at org.eclipse.milo.opcua.stack.client.UaStackClient.lambda$deliverResponse$5(UaStackClient.java:337)  
> at org.eclipse.milo.opcua.stack.core.util.ExecutionQueue$Task.run(ExecutionQueue.java:119)  
> 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)

These are the settings I have. Any help would be appreciated!

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/8/58e16e5d03304968948c8f8a548e60b97f465836.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/e/2edf9f5509b3fbb3c0a3c9630ce6f0bdf7526dec.png)

---

<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:** [November 2, 2023, 6:37pm UTC](https://forum.inductiveautomation.com/t/opc-ua-user-access-denied/81406/2 "2023-11-02T18:37:11Z")

</div>

If you recently allowed anonymous access but have not restarted, you must do that first.

Otherwise it means you have the wrong username/password specified in the connection settings.

---

<div class="post-metadata">

**Author:** ![IcedMocha12](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@IcedMocha12](https://forum.inductiveautomation.com/u/IcedMocha12)\
**Post date:** [November 2, 2023, 6:43pm UTC](https://forum.inductiveautomation.com/t/opc-ua-user-access-denied/81406/3 "2023-11-02T18:43:34Z")

</div>

Thanks Kevin.
