# Weird error when trying to update index pattern

**URL:** <https://forum.opensearch.org/t/weird-error-when-trying-to-update-index-pattern/17682>\
**Category:** Security\
**Created:** [February 1, 2024, 1:19pm UTC](https://forum.opensearch.org/t/weird-error-when-trying-to-update-index-pattern/17682 "2024-02-01T13:19:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [February 1, 2024, 2:54pm UTC](https://forum.opensearch.org/t/weird-error-when-trying-to-update-index-pattern/17682/3 "2024-02-01T14:54:38Z")

</div>

> [@rlevitsky](#):
>
> [“error”,“opensearch”,“data”],“pid”:1,“message”:“[security\_exception]: Update is not supported when FLS or DLS or Fieldmasking is activated”}

Have you made any changes to the user’s roles in terms of FLS, DLS or field masking (Anonymization )?

Could you share roles\_mapping.yml and the name of the test user?

---

_[View the full topic](https://forum.opensearch.org/t/weird-error-when-trying-to-update-index-pattern/17682)._
