Failing to update Role Metadata attribute from the UI

When trying to update an existing role with a value for a metadata attribute, we get the following error in the UI:

We are able to add the metadata via the API. Tried enabling and disabling the role and still got the same result. Is this a potential UI bug?

It could be , raise the ticket with support.

@nbhansali did you try the API if still you get better raise a ticket

The API works, but the UI still seems to be broken, submitting a ticket accordingly.