"A request validation has occurred" error on Marketing Cloud landing page
|Knowledge Article Number||000214099|
After clicking Submit on a landing page that contains a Web form, the following error appears:
"A request validation error has occurred!
A potentially dangerous Request.Form value was detected from the client.
The request Validation has detected a potentially dangerous client input value and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. It is strongly recommended that your application explicitly check all inputs."
By hosting the Web form on your landing page you'll have the ability to update your web.config file. If you host the Web form on a Marketing Cloud landing page, you'll not have the ability to update your web.config.file and therefore can not disable the request validation.