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."
This article explains why a Default Lead Creator receives the "Salesforce Could Not Create This Lead" email after a Web-to-Lead submission in Salesforce, and why the email cannot be customized.
This alert is sent out to the Default Lead Creator and cannot be customized.
The alert is sent when a Lead is submitted via Web-to-Lead and one of the fields entered does not respect the Unique value setting of a custom field. In this example, the MyField__c field is affected.
Note: The actual Reason no longer shows on the message for this use case due to GDPR restrictions. Instead, the message may show the following text: "We couldn't create this lead because of validation rules."
A very similar error occurs if State & Country picklists are enabled in the organization and the end user selects a State without selecting a Country. Because States depend on the Country, users may want to create web validation rules so that their customers are forced to select a Country when they select a State.
000385699

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.