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: Záznam by neměl být editovatelný

This error occurs 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 type of the only administrator to "Read only"

  • attempting to create or edit a user without sufficient permissions

  • editing a record that:

    • is locked

    • falls within a closed period

    • is not accessible to the given user

How to Proceed

  • verify that you have sufficient permissions (ideally administrator-level)

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

  • for documents, verify:

    • that they are not locked

    • that they are not within a closed period

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

Summary

This error means you are attempting to edit a record that cannot be modified at this time. It is most commonly caused by permission restrictions or a system protection measure (e.g., preserving administrator access).

Did this answer your question?