Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author zaus

    (@zaus)

    That’s not the full debug dump, but what that could mean is that it’s looking for the clause text in the response, and because it’s not finding it (maybe because it’s missing spaces after the period?) it thinks you mean that the response failed.

    Thread Starter jaydev943

    (@jaydev943)

    hey I got this type of responce when i receive mail.

    There was an error when trying to integrate with the 3rd party service {Salesforce Service - Footer Contact Form} (https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8).
    
    **FORM**
    Title: Footer Contact Form
    Intended Recipient: [email protected]
    Source: https://smartd.com/contact-us/
    
    **SUBMISSION**
    Array
    (
        [timeout] => 30
        [body] => Array
            (
                [oid] => 00Dj00001v5bj
                [first_name] => Name*
                [title] => Subject*
                [email] => [email protected]
                [description] => Please provide price for technical grade crude glycerin in bulk. Also provide source material.
            )
    
    )
    
    **RAW RESPONSE**
    Array
    (
        [reason] => Could not locate success clause within response
        [safe_message] => Success Clause not found
        [clause] => Thank you for your email.We will get back to you soon!
        [response] =>
    )
    Plugin Author zaus

    (@zaus)

    Hm…the response is completely empty. Check with Salesforce if it’s actually getting anything; you might be missing some ‘static’ mapping fields.

    Thread Starter jaydev943

    (@jaydev943)

    Zaus,
    Thanks for your great support.

    I don’t understand what is the issue.It might be i was done a wrong setting in plugin.

    But My Question is “lead send successfully to the salesforce” but responce mail which i get it show a failuler mail and responce is blank.

    please help me.

    Plugin Author zaus

    (@zaus)

    1. Enable debug mode (checkbox at top of settings page)
    2. Post the entire contents of the resulting email, including the mappings section so we know what you’re doing. Remove any sensitive info first
    3. If the response from Salesforce is blank, please also check with them what the problem could be. They might have submission logs to tell you more about the problem.

    Plugin Author zaus

    (@zaus)

    I’m also getting the same error connecting with FranConnect CRM, the data gets submitted to the CRM successfully, but the form returns an email with a failure message just as the one above.

    anyone was able to figure this out? I need the page to be redirected to an external URL upon submission, and need the contact form to send me an email as well. that’s not happening.

    any ideas?

    Plugin Author zaus

    (@zaus)

    Oh man I feel dumb. The clue was “Could not locate success clause within response” – that’s because everyone misunderstands what the ‘success clause’ setting means. It’s not a message my plugin shows to the user, it’s exact text the plugin looks for in the 3rdparty response, and if it doesn’t find it then it assumes something failed and causes the form to return the failure result everybody is seeing.

    You only use that setting if you’re expecting the endpoint to return a response. If “nothing” means it succeeded you should leave it blank. I misinterpreted the question(s), thinking you were expecting the success clause to be there.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘3rdParty Integration Failure’ is closed to new replies.