I'm getting Violation of PRIMARY KEY constraint when submitting a email address on a landing page. all I am doing is capturing the email address. the data extension is sendable and only contains the email address which is set as the PK. is there a way to check if the email already exists in the data extension.

CODE: SET @Response = InsertDE("DE", "EmailAddress", @EmailAddress)

Any help is appreciated


updated to upsertDE and it worked

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.