I am trying to fetch some user information from a survey page to a data extension. for this all things are at place and I am redirecting subscriber to a thank you page and capturing this information.
%%[ var @q5_overallHow5, @q6_didOur6, @q8_wouldYou8, @q10_whatAspect10, @q11_whatAspect, @q12_pleaseExplain, @EmailAddress set @q5_overallHow5 = RequestParameter('q5_overallHow5') set @q6_didOur6 = RequestParameter('q6_didOur6') set @q8_wouldYou8 = RequestParameter('q8_wouldYou8') set @q10_whatAspect10 = RequestParameter('q10_whatAspect10') set @q11_whatAspect = RequestParameter('q11_whatAspect') set @q12_pleaseExplain = RequestParameter('q12_pleaseExplain') set @EmailAddress = RequestParameter('EmailAddress') InsertData("SurveyResults", "q5_overallHow5",@q5_overallHow5, "q6_didOur6",@q6_didOur6, "q8_wouldYou8",@q8_wouldYou8, "q10_whatAspect10",@q10_whatAspect10, "q11_whatAspect",@q11_whatAspect, "q12_pleaseExplain",@q12_pleaseExplain, "EmailAddress",@EmailAddress ) ]%%
This code was working fine but now all of a sudden something's not working as expected and on submit button there is a 500 internal server error.
I have checked all the settings under cloud page and removing this ampscript is allowing me to save and publish the content but I am not able to save and publish after putting this ampscript block.
Please have a look on this page