SAP Knowledge Base Article - Public

3140970 - SAP Marketing Cloud - Forms reCaptcha integration failing due to invalid domain error

Symptom

A landing page or form with having a captcha element integrated failed with a technical error. On opening the form the following error is raised:

ERROR for site owner:
Invalid domain for site key

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP Marketing Cloud Edition

Reproducing the Issue

  1. Create a Form with an embedded Captcha element
  2. Test the Form
  3. Observe the following error

Cause

There are different reasons for that error. This is raised when either the side key is no longer valid or when the website domain is not registered in the site key settings.

Resolution

  • Settings inside the Marketing Cloud Tenant

  • Settings in the Google Admin Console

    • Verify the domain entered for the reCAPTCHA integration
      The domain must exactly match the SMC tenant URL

See Also

Please also refer to the online help:

Setting Up Captcha Configuration for Forms

Keywords

reCAPTCHA, captcha
Landing Page, Form
Landing-Page, Formular
Page d'arrivée, Formulaire , KBA , CEC-MKT-LPC , Content Studio: Landing Pages and Forms , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions