I am attempting to write AMP Script for an exclusion of certain emails in an DE. Now this DE users subscriber key though. I am not able to perform a send. I recieve the following error msg for the simple amp script:
ROWCOUNT(LOOKUPROWS("resulting AS FA", "Email",[email protected]))> 0
where "resulting AS FA" = DE name and email is the DE field label and email is the physical email address ID
I have also attempted to use the subscriber key/which is our contact Key 00Q4100000UP3i9EAD, yet I am getting errors.
ROWCOUNT(LOOKUPROWS("resulting AS FA", "Email",_00Q4100000UP3i9EAD))> 0
There was an error sending this Email.
Exclusion filter validation failed: Exclusion filter is invalid. Error 1 Invalid Function Call The specified attribute or custom object field name was not found for this client. Function Call: LOOKUPROWS("resulting AS FA", "Email",[email protected]) Attribute or Field Name: [email protected] Invalid Content >>> ROWCOUNT(LOOKUPROWS("resulting AS FA", "Email",[email protected]))