• Woody Zantzinger
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi, having a problem with our Web to Lead system, which has previously been working fine for 6 months.

Our debug logs show successful web-to-lead submissions to Salesforce, but not all leads are actually importing. There is no clear pattern as to when/why a lead is not being imported. The default user is being monitored, and does not show any reports of failed leads, but does show succesful submissions. Submission is done through a WordPress add-on to the Gravity Forms plugin, but we have ruled out plugin errors, and our tests with Postman and with HTML forms generated by Salesforce itself show similar erratic behavior.

We do have a validation rule, but have turned it off and we are still experiencing the problem.

Our Wordpress logs show:

2014-05-09 5:31:05 - DEBUG --> This is the data sent to Salesforce (at https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8:
Array
(
    [body] => Array
        (
            [email] => sample@sample.com
            [last_name] => John Smith
            [company] => Google
            [phone] => 5555555555
            [message] => Test
            [description] => Test
            [txt_medium__c] => (none)
            [txt_source__c] => (direct)
            [txt_campaign_name__c] => (direct)
            [txt_content__c] => -
            [txt_term__c] => -
            [txt_visitor_id__c] => 9999999
            [oid] => (Removed from Log, is the correct Salesforce ID)
            [debug] => 0
            [debug_email] => 0
            [retURL] => http://www.google.com
        )

    [headers] => Array
        (
            [user-agent] => Gravity Forms Salesforce Add-on plugin - WordPress/3.8.3;
        )

    [sslverify] => 
)
) 
2014-05-09 5:31:05 - DEBUG --> The `is-processed` header isn't set. This means there were no errors adding the entry. 
2014-05-09 5:31:05 - DEBUG --> Entry 1056 was added to Salesforce. Here's the available data:
Array
(
    [headers] => Array
        (
            [date] => Fri, 09 May 2014 09:31:05 GMT
            [cache-control] => private
            [content-type] => text/html;charset=UTF-8
            [connection] => close
        )

    [body] => 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta http-equiv="Refresh" content="0; URL=http://www.google.com">
</head>
<script>if (this.SfdcApp && this.SfdcApp.projectOneNavigator) { SfdcApp.projectOneNavigator.handleRedirect('http://www.google.com'); }  else if (window.location.replace){ window.location.replace('http://www.google.com');} else {;window.location.href ='http://www.google.com';} </script></html>

    [response] => Array
        (
            [code] => 200
            [message] => OK
        )

    [cookies] => Array
        (
        )

    [filename] => 
)
The entry referenced in the logs above was not added, and Salesforce showed no errors or logs. The default user is being monitored, and shows logs if something is succesfully submitted.

Anyone have any thoughts?
Hi, having a problem with our Web to Lead system, which has previously been working fine for 6 months.

Our debug logs show successful web-to-lead submissions to Salesforce, but not all leads are actually importing. There is no clear pattern as to when/why a lead is not being imported. The default user is being monitored, and does not show any reports of failed leads, but does show succesful submissions. Submission is done through a WordPress add-on to the Gravity Forms plugin, but we have ruled out plugin errors, and our tests with Postman and with HTML forms generated by Salesforce itself show similar erratic behavior.

We do have a validation rule, but have turned it off and we are still experiencing the problem.

Our Wordpress logs show:

2014-05-09 5:31:05 - DEBUG --> This is the data sent to Salesforce (at https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8:
Array
(
    [body] => Array
        (
            [email] => sample@sample.com
            [last_name] => John Smith
            [company] => Google
            [phone] => 5555555555
            [message] => Test
            [description] => Test
            [txt_medium__c] => (none)
            [txt_source__c] => (direct)
            [txt_campaign_name__c] => (direct)
            [txt_content__c] => -
            [txt_term__c] => -
            [txt_visitor_id__c] => 9999999
            [oid] => (Removed from Log, is the correct Salesforce ID)
            [debug] => 0
            [debug_email] => 0
            [retURL] => http://www.google.com
        )

    [headers] => Array
        (
            [user-agent] => Gravity Forms Salesforce Add-on plugin - WordPress/3.8.3;
        )

    [sslverify] => 
)
) 
2014-05-09 5:31:05 - DEBUG --> The `is-processed` header isn't set. This means there were no errors adding the entry. 
2014-05-09 5:31:05 - DEBUG --> Entry 1056 was added to Salesforce. Here's the available data:
Array
(
    [headers] => Array
        (
            [date] => Fri, 09 May 2014 09:31:05 GMT
            [cache-control] => private
            [content-type] => text/html;charset=UTF-8
            [connection] => close
        )

    [body] => 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta http-equiv="Refresh" content="0; URL=http://www.google.com">
</head>
<script>if (this.SfdcApp && this.SfdcApp.projectOneNavigator) { SfdcApp.projectOneNavigator.handleRedirect('http://www.google.com'); }  else if (window.location.replace){ window.location.replace('http://www.google.com');} else {;window.location.href ='http://www.google.com';} </script></html>

    [response] => Array
        (
            [code] => 200
            [message] => OK
        )

    [cookies] => Array
        (
        )

    [filename] => 
)
The entry referenced in the logs above was not added, and Salesforce showed no errors or logs. The default user is being monitored, and shows logs if something is succesfully submitted.

Anyone have any thoughts?