I do not see any sessions being active through GUI to discard.
Publish and logout are included in API call that was made.
Issue happens when similar API call was made two times.
For example..
1st API call
API call is to create a policy at position 1.. API call successfully creates the policy , publishes and logout.
2nd API call
If I do the same API call as above again without any changes, It publishes successfully and logout
Further unrelated/similar API calls to the same policy package fails
For any other changes through GUI to that Policy package. I get those errors that explained above
1. unable to delete policy package.
2. "Unable to Add/Remove access rule until admin publishes the changes" in that policy package.
I do not see any changes that require publish or to discard.
Through the API , I get the following error
{"message": "Runtime error: An object is locked by another session.", "code": "generic_error"}
From the GUI screenshot shared, this object is called "null"?