# Bad\_ReadOnly error

**URL:** <https://forum.inductiveautomation.com/t/bad-readonly-error/83026>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [December 12, 2023, 1:04pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026 "2023-12-12T13:04:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AVG04](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AVG04](https://forum.inductiveautomation.com/u/AVG04)\
**Post date:** [December 12, 2023, 1:04pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026/1 "2023-12-12T13:04:49Z")

</div>

Hi, we suddenly encountered the below screenshot with our previously working setup.  
 ![Screenshot 2023-12-12 202310](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/3/43dd6da39ae09341464777a09fb3374e8b156882.png)

Our current setup:

1. A frontend for the graphics

2. A backend gateway for most of the tagwrites, queries

The scenario we encountered was that the frontend was unable to modify the tags on a specific tag provider group (via messageHandler function to backend). no logs were recorded on both gateways.

I checked the properties of the affected tag provider but it the configuration is identical to the other working tag providers.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [December 12, 2023, 1:13pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026/2 "2023-12-12T13:13:54Z")

</div>

In the backend tag provider, can you directly manipulate that tag in the tag browser? If you cannot then there is an issue with your end device.

And are you using remote tag providers on your front end?

---

<div class="post-metadata">

**Author:** ![AVG04](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AVG04](https://forum.inductiveautomation.com/u/AVG04)\
**Post date:** [December 12, 2023, 1:26pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026/3 "2023-12-12T13:26:51Z")

</div>

I am able to directly manipulate the affected tags via designer (on a backend project)

and yes, we are using remote tag provider for the frontend

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [December 12, 2023, 1:37pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026/4 "2023-12-12T13:37:39Z")

</div>

OK, can you manipulate the tag on the front end via the tag browser?

Is there any security configured on the tag?

---

<div class="post-metadata">

**Author:** ![AVG04](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AVG04](https://forum.inductiveautomation.com/u/AVG04)\
**Post date:** [December 12, 2023, 2:05pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026/5 "2023-12-12T14:05:13Z")

</div>

> OK, can you manipulate the tag on the front end via the tag browser?

- nope, tag manipulation are performed on the backend via messageHandler

> Is there any security configured on the tag?

- it does not have any security configured on the tags.

also, all of these are memory tags.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [December 12, 2023, 2:12pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026/6 "2023-12-12T14:12:23Z")

</div>

OK... well this:

> [@AVG04](#):
>
> nope, tag manipulation are performed on the backend via messageHandler

doesn't match

> [@AVG04](#):
>
> and yes, we are using remote tag provider for the frontend

Typically when you have a front-end back-end, the front-end has remote tag providers that are connected to the back-end tag providers. Then all tag manipulation is done "local" on the front end via that remote tag provider.

Can you describe your architecture a bit more so we can understand? Can you provide the scrips that are doing the tag updates?

---

<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:** [December 12, 2023, 2:26pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026/7 "2023-12-12T14:26:33Z")

</div>

Are you sure there's been no change to the security status of the frontend in the backend, in the GAN configuration? IIRC, messaging contexts get the source gateway's permissions while running in the backend.

---

<div class="post-metadata">

**Author:** ![AVG04](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AVG04](https://forum.inductiveautomation.com/u/AVG04)\
**Post date:** [December 12, 2023, 3:53pm UTC](https://forum.inductiveautomation.com/t/bad-readonly-error/83026/8 "2023-12-12T15:53:38Z")

</div>

turns out the team did imposed security zones which might be affecting the gateway connections.

will advise if it is the issue.

Thanks!
