# Tag write to edge gateway fails

**URL:** <https://forum.inductiveautomation.com/t/tag-write-to-edge-gateway-fails/78091>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 18, 2023, 4:32pm UTC](https://forum.inductiveautomation.com/t/tag-write-to-edge-gateway-fails/78091 "2023-08-18T16:32:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@Project2501](https://forum.inductiveautomation.com/u/Project2501)\
**Post date:** [August 18, 2023, 4:32pm UTC](https://forum.inductiveautomation.com/t/tag-write-to-edge-gateway-fails/78091/1 "2023-08-18T16:32:52Z")

</div>

Edge Gateway serving tags to a central server. I can see all of the tags in a perspective session, can see them from the server's designer.

If I try to write to a property from anywhere but the edge gateway designer, the write fails. The error only says Bad\_AccessDenied. No other data and no entry in a log that I can find to provide me any other information.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/e/de0d9ec6eb506a0d5343a1f78a1d57867b3830ce.png)

I have no entries in the Tag Read, Tag Write, and Tag Editing Permissions boxes in the Gateway Configuration. I wanted to get all read/writes working and then add in Security Zones once complete.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/6/f6598c901178dd371b1cb5fad3300544cce3e8ce.png)

The tag property is set to read/write as I can write to the tag from the Edge Designer w/o issue. It feels like it's a security setting, I'm not sure what. Help?

edit 2, slightly different looking error from perspective session:

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

---

<div class="post-metadata">

**Author:** ![Eric\_Byrd](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/eric_byrd/32/43488_2.png) [@Eric\_Byrd](https://forum.inductiveautomation.com/u/Eric_Byrd)\
**Post date:** [August 18, 2023, 11:08pm UTC](https://forum.inductiveautomation.com/t/tag-write-to-edge-gateway-fails/78091/2 "2023-08-18T23:08:36Z")

</div>

Hi Project2501,

Just to clarify, from your Central Gateway, you receive both of those errors when trying to write to your Edge Gateway's tags? Where are those tags coming from? If you create a random memory tag on your Edge Gateway and place it in the same tag provider as your other tags, do you receive the same error while trying to write from it?

One place to check is in your Edge Gateway's Service Security settings under Config -\> Security. What are the settings for your Default Provider Access Level under Tag Access? This may be set to read only.

If changing those settings does not resolve the issue, have you checked the wrapper logs in both the Edge and Central Gateways for any additional information?

Inductive Automation Support:  
US Phone: 1-800-266-7798  
International: 1-916-456-1045  
Email: [support@inductiveautomation.com](mailto:support@inductiveautomation.com)

---

<div class="post-metadata">

**Author:** ![Project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@Project2501](https://forum.inductiveautomation.com/u/Project2501)\
**Post date:** [August 19, 2023, 12:20am UTC](https://forum.inductiveautomation.com/t/tag-write-to-edge-gateway-fails/78091/3 "2023-08-19T00:20:13Z")

</div>

> [@](#):
>
> Just to clarify, from your Central Gateway, you receive both of those errors when trying to write to your Edge Gateway's tags?

Yes.

> [@](#):
>
> Where are those tags coming from?

The edge gateway is onboard an Opto 22 Controller and the tags are from that PLC

> [@](#):
>
> If you create a random memory tag on your Edge Gateway and place it in the same tag provider as your other tags, do you receive the same error while trying to write from it?

Great idea! I tried this and had the same result. Can write to it from inside the edge gateway/designer but not from the central server.

I had no idea about the service security setting. It was read only , I made this change:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/f/4ff5322b95bdebd651b6e21dff22a5ab47f64f94.png)  
I still have the same issue.

So I went into the wrapper on the central, did a few more failed writes, didn't see any new entires. I don't have an SSH license for my groov device so I don't know how to get to the /usr/local/bin/ignition folder.

---

<div class="post-metadata">

**Author:** ![Project2501](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@Project2501](https://forum.inductiveautomation.com/u/Project2501)\
**Post date:** [August 19, 2023, 12:23pm UTC](https://forum.inductiveautomation.com/t/tag-write-to-edge-gateway-fails/78091/4 "2023-08-19T12:23:35Z")

</div>

I changed the Service Security setting on the central server for the remote gateway from inheritied to read / write and that worked. Thanks for helping guide me to that setting. I will start to add security back to all gateways and see where I break it.

Thanks again.
