Print this page

Why do I get a "Salesforce Could Not Create This Lead" email?

Knowledge Article Number 000171403
Description I have received an email whose subject is "Salesforce Could Not Create This Lead".
I cannot find any email alerts as such in my Email Alerts , nor in my validation rules.

Where does this come from and how do I change it?

The email body looks like this:
-----------------------------------------------------
Salesforce could not create this lead because of the reason listed below. For more information about this error or help with Web-to-Case-Lead, please contact Customer Support.

Reason: MyField__c duplicates value on record with id: 00Qb00xxxxxxxxxxxxxx
    Lead Capture Page: Not available.

Record Information:

    00Nb000000xxxxxx = 1
    city =
    company =
    email =
    encoding = UTF-8
    encoding = UTF-8
    first_name = John
    last_name = Doe
    lead_source = Web_form
    oid = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    retURL = http://somewebaddress
    state =
    submit = Submit Query

To incorporate this lead into Salesforce you can key in the data above.
Resolution
This alert is sent internally by the Salesforce system to the Default Lead Creator.

You cannot customize it.

The alert is sent when a Lead is submitted via Web-to-Lead and one of the field entered is not respecting the Unique value of one of your custom field. In this example, the MyField__c field is affected.

State & Country Picklists

A very similar error occurs if State & Country picklist is enabled in your organization and the end user selects a State without selecting a Country. Since States are dependent on the Country, you might want to create web validation rules so that users are forced to select a State if they select a Country. 




promote demote