<-- Back

Error: Executing runtime operation failed for security reasons

Issue

When troubleshooting, it is possible to encounter error messages or log messages with obfuscated runtime operation IDs. With the runtime operation IDs scrambled, it is difficult to know what runtime operation is causing the issue. Example messages are as follows:

In the error message:

Executing runtime operation failed for security reasons: <INSERT_RANDOM_CHARACTERS>

In the app logs:

"Executing runtime operation failed for security reasons: <INSERT_RANDOM_CHARACTERS>" "WARNING - WebUI: User '<INSERT_USER>' attempted to execute runtime operation '<INSERT_RANDOM_CHARACTERS>' but does not have the required permissions"

Cause

These runtime IDs are obfuscated. However, the operations.json file can be used to find the runtime operation that is referenced in the error message.

Environment

Applications deployed on Mendix Cloud

Applications hosted locally

Solution/Workaround

Inside the deployment/model directory is the operations.json file which contains the mapping between the obfuscated operation IDs and the actual operation.

When running locally, this file is accessible as mentioned above.

If running on the Mendix Cloud, please create a ticket with Mendix Support, and Support can provide the file if the necessary permissions are provided.

The operations in the file will look like the following: 

{"operationId": <INSERT_RANDOM_CHARACTERS>","operationType":"callMicroflow","parameters":{"ReturnURL":["String"]},"constants":{"MicroflowName":"<INSERT_MICROFLOW_NAME>"},"allowedUserRoleSets":[["<USER_ROLE>"]]},

These IDs scramble again after a redeployment, so ensure you are checking these IDs with files related to the same deployment.

Internal information related

  • 219683

Additional information related

Not applicable

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.