Loading
システム管理者に対するフィッシング耐性MFA・全従業員ユーザーMFAの適用のお知らせ 続きを読む
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む

Marketing Cloud Connect error during email send: 'HasOptedOutOfEmail' for Contacts and Leads

公開日: Jan 3, 2025
説明

When sending using Marketing Cloud Connect an error related to HasOptedOutOfEmail indicates a permissions issue with accessing that field.  The error can mention Contacts or Leads


Example error messages:
 

  • No such column 'HasOptedOutOfEmail' on entity 'Contact'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name.
  • No such column 'HasOptedOutOfEmail' on entity 'Lead'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name.

 
解決策

Resolve the error in Salesforce Classic

1. In Salesforce Classic, click Setup
2. Click Customize.
3. Click Contacts or Leads
4. Click Fields to view the Contact or Leads Fields workspace. 
5. Click Email Opt Out in the "Field Label" column. 
6. Click Set Field-Level Security
7. Set the Field-Level Security for each profile that will be performing Email Sends to "Visible"
 

Resolve the error in Salesforce Lightning

1. In Salesforce Lightning, go to Setup
2. Expand the Objects and Fields, then click Object Manager.
3. Click Contacts or Leads.
4. Click Fields and Relationships.
5. Select Email Opt Out.
6. Click Set Field-Level Security
7. Set the Field-Level Security for each profile that will be performing Email Sends to "Visible".
ナレッジ記事番号

000387283

 
読み込み中
Salesforce Help | Article