BAQM0042E Service ''{0}'' has been configured to expect a caller principal but none was provided.

Explanation

The service has been configured with the 'useCallerPrincipal' attribute set to 'true', but no caller principal was provided. This is because the z/OS Connect EE service, or API, was configured with the 'requireAuth' attribute set to 'false', and the user did not authenticate to z/OS Connect EE. This combination of attributes is incorrect.

User response

Either set the MQ Service Provider 'useCallerPrincipal' attribute set to 'false', and adjust your MQ security configuration; or set the z/OS Connect EE 'requireAuth' attribute to 'true' and ensure that the caller authenticates with z/OS Connect EE.