lookupampscriptsalesforce-marketing-cloud

LookupRows Data Extension error in the email preview


Once I try to do a preview of the email the next error appears:

The Data Extension name for a LookupRows function call is invalid. A Data Extension of this name does not exist. Data Extension Name:

Registered_Fam_Members Function Call: LookupRows("Registered_Fam_Members","PersonContactId",_subscriberkey)

Parameter Name: DataExtensionName Parameter Ordinal: 1

That Data Extension exists an the AMPScript code I am using is %%=LookupRows("Registered_Fam_Members","PersonContactId",_subscriberkey)=%%

The Data Extension that is being used as sendable is a Standard one.

Do you know what this issue could be related with?


Solution

  • I've added the ENT. prefix in the DE name and now it works.