I created a survey on a marketing cloud landing page and sent it to another landing page using this html:
<form method="post" name="CustomerSatisfaction" action="%%=RedirectTo(CloudPagesURL(1682,'fullName',RequestParameter('fullName'),
'company',RequestParameter('company'),'email',RequestParameter('email'),'sex',RequestParameter('sex'),'rating',RequestParameter('rating'),'explain',RequestParameter('explain')))=%%" >
I am attempting to update an existing data extension with the results from this survey. The only column that is not in this code is the 'key', which is also my primary key for the DE. Below is my code:
%%[ /* Retrieve request */
VAR @fullName, @company, @email, @rating, @explain, @createDERecord
set @fullName = QueryParameter('fullName')
set @company = QueryParameter('company')
set @email = QueryParameter('email')
set @rating = QueryParameter('rating')
set @explain = QueryParameter('explain')
set @createDERecord = InsertData(
'MonkeylessSurvey_DE_Intern',
'fullName',@fullName,
'company',@company,
'email',@email,
'rating',@rating,
'explain',@explain)
]%%
It's allowing me to publish, but when I try to open the website I get an "Internal Server Error 500".
How do I solve this?
EDIT: