App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#Applicationintegration
#App Connect
#AppConnect
#Integration
#Automation
 View Only
  • 1.  Error in execution while using salesforce request node in App connect Toolkit

    Posted 08/12/20 02:48 AM
    Hi,

    I am trying to run the sample project in the tutorial for salesforce in the App connect enterprise toolkit. I followed the instructions to configure app connect on salesforce found on this link-https://www.ibm.com/support/knowledgecenter/SSTTDS_11.0.0/com.ibm.etools.mft.doc/bz90640_.html

    While running the project, I get the following error on send message-

    Error sending request to http "http://localhost:7800/Salesforce_Retrieve"
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Fault from SOAP-ENV:Server (Exception)</title>
    </head>
    <body>
    <h1>Fault from SOAP-ENV:Server (Exception)</h1>
    <p>Fault string: BIP3113E: Exception detected in message flow Salesforce_Retrieve (integration node integration_server) </p>
    <p>Fault actor : http://localhost:7800/Salesforce_Retrieve</p>
    <p>Fault detail: BIP2230E: Error detected whilst processing a message in node &apos;Salesforce_Retrieve.Prepare Filter Map&apos;. : /build/jenkins_swg/slot0/product-build/WMB/src/DataFlowEngine/PluginInterface/jlinklib/ImbJniNode.cpp: 433: ImbJniNode::evaluate: ComIbmMSLMappingNode: Salesforce_Retrieve#FCMComposite_1_5
    BIP2230E: Error detected whilst processing a message in node &apos;Salesforce_Retrieve.Salesforce Request&apos;. : /build/jenkins_swg/slot0/product-build/WMB/src/DataFlowEngine/TemplateNodes/ImbRequestTemplateNode.cpp: 1158: ImbRequestTemplateNode::processMessageAssemblyToFailure: ComIbmRequestNode: Salesforce_Retrieve#FCMComposite_1_3
    BIP3858E: The SalesforceRequest node received error code &apos;&apos;Error&apos;&apos; while performing the &apos;&apos;retrieve&apos;&apos; operation. Error: &apos;&apos;grant type not supported&apos;&apos;. : /build/jenkins_swg/slot0/product-build/WMB/src/DataFlowEngine/nodejs/NodejsManager/ImbNodejsUtils.cpp: 154: &lt;JS&gt; iib-sf-interaction.request: : </p>
    </body>
    </html>
    Please find screen shots of the error, execution flow and salesforce config details.

    Can someone help me fix this issue?


    ------------------------------
    Regards,
    Sirisha Sharon Nethala
    ------------------------------


  • 2.  RE: Error in execution while using salesforce request node in App connect Toolkit

    Posted 08/13/20 02:44 AM
    The error suggest that there is an issue with the grant type.
    What security setup did you used and configure.
    There is a tutorial on how to do this in IIB (should be the same as ACE):
    https://developer.ibm.com/integration/blog/2016/03/18/integrating-with-salesforce-using-a-rest-api-created-in-ibm-integration-bus/

    ------------------------------
    Pierre Richelle
    IBM Hybrid Cloud Integration Specialists
    IBM
    bruxelles
    0474681892
    ------------------------------



  • 3.  RE: Error in execution while using salesforce request node in App connect Toolkit

    Posted 08/13/20 04:22 AM
      |   view attached
    Hi Pierre,

    I have the  configuration as per the link you have shared, however I don't use the Integration Node, I use the Integration server directly and its configured to localhost with port 7600. Could this be the issue?

    ------------------------------
    Sirisha Sharon Nethala
    ------------------------------



  • 4.  RE: Error in execution while using salesforce request node in App connect Toolkit

    Posted 08/13/20 07:48 AM
    Hi Sirisha,
    based on your screenshots starting point is the HTTP Input Node.
    What message do you send into the HTTP Input Node?

    ------------------------------
    Matthias Jungbauer
    ------------------------------



  • 5.  RE: Error in execution while using salesforce request node in App connect Toolkit

    Posted 08/13/20 08:07 AM
    Has been solved.

    The issue might have been solved by updating the credentials and restarting the integration server.

    ------------------------------
    Pierre Richelle
    IBM Hybrid Cloud Integration Specialists
    IBM
    bruxelles
    0474681892
    ------------------------------