I'm just trying to practice a simple Lookup function. I event looked at AMPscript lookup Examples. However I do not understand what is wrong with my AMPscript-code.
I'm getting this error below from SFMC:
Unable to generate preview
%%program_cd%%To fix the problem, please try the following: - Make sure that there is not a space or typo within the personalization string in your email. For example, check and correct any spaces between percent signs (%%) - Correct the HTML Body of your email.
%%[ var @offer, @lookupvalue set @lookupvalue = AttributeValue("BannerURL") set @offer = Lookup("DE", "Offer", "BannerURL", @lookupvalue) ]%% %%=v(@offer)=%%