Loading

How to resolve Invalid Permissions error when using CloudHub Connector

게시 일자: Mar 2, 2024
솔루션

SYMPTOM

You have created custom CloudHub notification using CloudHub Connector with Basic Auth.

An application containing custom notification is invoked but no notification is not getting created and error you see is Invalid Permissions

Error in log

********************************************************************************
Message               : Invalid Permissions
Element               : cloudhubconnector_helloFlow1/processors/0 @ cloudhubconnector-hello:cloudhubconnector_hello.xml:16 (Create Notification)
Element DSL           : <cloudhub:create-notification doc:name="Create Notification" doc:id="f07b5c9a-014a-48bc-8d5d-609e842bc786" config-ref="CloudHubConnector_Config" domain="cloudhubconnector-hello" priority="INFO">
<cloudhub:message><![CDATA[
#["cloudhub notification"]
]]></cloudhub:message>
</cloudhub:create-notification>
Error type            : CLOUDHUB:CONNECTIVITY
FlowStack             : at cloudhubconnector_helloFlow1(cloudhubconnector_helloFlow1/processors/0 @ cloudhubconnector-hello:cloudhubconnector_hello.xml:16 (Create Notification))
Payload Type          : org.mule.runtime.core.internal.streaming.bytes.ManagedCursorStreamProvider

 

CAUSE

Permission to access a given environment missing.

SOLUTION
Make sure the environment is the same across.

1)  Environment where the CloudHub Connector application is deployed.

 2) CloudHub Connector env/ Profile default environment.

    One of the two below is needed

    Environment is selected in CloudHub Connector config
     or
    Default environment is selected for the user profile when you login. (Login as the user, top right corner click on your login name > profile > select environment)



 

 

Knowledge 기사 번호

001119753

 
로드 중
Salesforce Help | Article