DEBUG 2020-12-29 13:47:02,059 [[MuleRuntime].io.06: [mule].muleFlow.BLOCKING @65194d85] [event: 39db90c0-49ae-11eb-bcf8-0c96e6a9b99b] org.mule.extension.salesforce.internal.error.exception.service.handlers.PaginationExceptionHandler: Enriching exception: org.mule.runtime.api.connection.ConnectionException: Failed establishing connection with salesforce ERROR 2020-12-29 13:47:02,176 [[MuleRuntime].io.06: [mule].muleFlow.BLOCKING @65194d85] [event: 39db90c0-49ae-11eb-bcf8-0c96e6a9b99b] org.mule.runtime.core.internal.exception.OnErrorPropagateHandler: ******************************************************************************** Message : Failed establishing connection with salesforce Error type : SALESFORCE:CONNECTIVITY Element : muleFlow/processors/1 @ mule:mule.xml:18 (Query) Element XML : <salesforce:query doc:name="Query" doc:id="b0617580-76bd-4bf8-b35f-9c116d0daa2c" config-ref="Salesforce_Config"> <salesforce:salesforce-query>SELECT Name from Account Limit 10</salesforce:salesforce-query> </salesforce:query> (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************
DEBUG 2021-01-07 09:28:08,144 [[MuleRuntime].io.06: [mule].muleFlow.BLOCKING @68a09f5] [event: 8bc44c70-509c-11eb-a726-0c96e6a9b99b] org.mule.extension.salesforce.internal.error.exception.service.handlers.IOExceptionHandler: Exception encountered: Invalid status code: 400, response body: {"error":"invalid_grant","error_description":"audience is invalid"}
To solve this, please try using a valid values for Audience Url, like the following:
001120544

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.