Please help me figure out the problem in my ampscript.
So here it is:
%%[ Var @phone Set @phone = Lookup(“Support Phone Numbers”, “Phone”, “Locale”, "%%Opportunity:Account:Locale__c%%") ]%%
The result of the script is placed in email like this:
%%=v(@phone)=%%
But when I try to preview the email I get this error:
There is an error in your email. Please contact your customer service representative. Error 1: Script SET Statement Invalid An error occurred when attempting to resolve a script expression. See inner exception for detail. Script Expression: Lookup(“Support Phone Numbers”, “Phone”, “Locale”, "%%Opportunity:Account:Locale__c%%") MemberID: 7295734 JobID: 0
The specified attribute or custom object field name was not found for this client. Function Call: Lookup(“Support Phone Numbers”, “Phone”, “Locale”, "%%Opportunity:Account:Locale__c%%") Attribute or Field Name: “Support
Invalid Content: Set @phone = Lookup(&#“;Support Phone Numbers&#”;, &#“;Phone&#”;, &#“;Locale&#”;, "%%Opportunity:Account:Locale__c%%")
Here are the screenshots: template code