Error received when opening form accepted by other user

Certified Senior Developer

In our application, tasks are assigned to users/groups and a person was able to view task even if its accepted by other user. But since our upgrade to 22.1 we are getting error if other user is opening it. Also when trying to view form through the instance we are facing the issue. Refer attached screenshot for error message.

  Discussion posts and replies are publicly visible