Skip to main content

Error: IllegalStateException – Record Should Not Be Editable (User)

Error Appearing When Performing an Unauthorized User Operation

Written by Petr Pech

Error: Record should not be editable

This error appears when you attempt to perform an operation that is not permitted in the system. It most commonly relates to user management, but can also occur with other record types.


Example Scenarios

  • changing the role of the only administrator to "Read only"

  • attempting to create or edit a user without sufficient permissions

  • editing a record that:

    • is locked

    • belongs to a closed period

    • is not accessible to the given user

How to Resolve

  • verify that you have sufficient permissions (administrator role is recommended)

  • check that at least one active administrator remains in the system

  • for documents, verify:

    • that they are not locked

    • that they do not fall within a closed period

  • if needed, try logging in as a different user with higher privileges

Summary

This error indicates that you are attempting to edit a record that cannot be modified at this time. The most common causes are permission restrictions or system safeguards (e.g., preserving at least one administrator account).

Did this answer your question?