Object creation fails with the error "400 Bad request Someone may be trying to circumvent the permission checker"

Issue

  • When I try to create new objects, I receive the following error message:
Error 400:BAD_REQUEST, Someone may be trying to circumvent the permission checker: {companyId=43465, name=com.liferay.object.model.ObjectDefinition, primKey=48129, scope=4}
error.png
We have tried following this article:
"Someone may be trying to circumvent the permission checker" errors shown in the logs

Environment

  • LXC
  • 2023.Q3.2

Resolution

  • Copy the attached script.groovy at Control Panel > Server Administration > Script
  • Before running the script, update the companyID to the ID shown on the failure message, make sure that it is correct; then click on Execute.

  • If you are unable to run scripts in your environment, open a ticket on the Help Center and refer to this article with its link.

Additional Information

 

 

Was this article helpful?
0 out of 0 found this helpful