Loading

IBM MQ Connector failed with MQRC_NOT_AUTHORIZED

Publiceringsdatum: Jul 24, 2025
Lösning

SYMPTOM

I am seeing IBM MQ Connector connection failure with MQRC_NOT_AUTHORIZED.

12:37:59.307 09/14/2021 Worker-0 qtp15xxx4453-39 ERROR
Failed to connect/reconnect: WebSphereMQConnector
{
name=WMQ_Inbound_Configuration
lifecycle=initialise
this=145b94d5
numberOfConcurrentTransactedReceivers=4
createMultipleTransactedReceivers=true
connected=false
supportedProtocols=[wmq]
serviceOverrides=<none>
}
. Root Exception was: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED').. Type: class com.ibm.mq.MQException

 

CAUSE

As we can see the code "MQRC_NOT_AUTHORIZED" in the error message, that is caused by NOT AUTHORIZED due to an incorrect access.
 

SOLUTION

That can be caused by a wrong username/password, client secret, permission configuration, etc, in your WMQ.
Check the channel configuration and user access with your WMQ administrator.
For example, your application is not authorized, the user's password was reset.

Note, you can find some IBM documentation.
For example)
- https://www.ibm.com/support/pages/node/709449
- https://www.ibm.com/support/pages/2035-mqrcnotauthorized-wmq

Knowledge-artikelnummer

001122664

 
Laddar
Salesforce Help | Article