Print this page

Content Management - AMPscript - Error using InsertData AMPscript function

Knowledge Article Number 000213683
Description Why am I receiving an error message such as "A scripting error has occurred. An error occurred when attempting to execute an InsertData function call. See inner exception for details"  when I use the InsertData AMPscript function?
Resolution You will receive this message if you are attempting to use the InsertData AMPscript function in an email. The InsertData AMPscript function should be used in Landing Pages. For emails, the InsertDE function should be used. It is a similar function, but it is intended to be used for email messages.

Related Topics

InsertDE(S1, S2, S3)
InsertData(S1, S2, S3)

promote demote