Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

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)



 

 

ナレッジ記事番号

001119753

 
読み込み中
Salesforce Help | Article