I am getting following error while performing test email send definition via SOAP API. Can anyone please explain to me what is the cause of this error and how can I resolve it?
StatusCode : 'Error',
StatusMessage: 'The following email validation errors need addressed before the email can be sent.
Error 1 : Script IF Statement Invalid
An error occurred when attempting to resolve a script expression.
See inner exception for detail. Script Expression:
RowCount(LookupRows("TEST","emailaddress",email_address,"campaign_id",@ConcatenatedCampaign))
MemberID: 106XXXX JobID: 0 The specified attribute or custom object field name was not found for this client.
Function Call :
LookupRows("TEST","emailaddress",email_address,"campaign_id",@ConcatenatedCampaign)
Attribute or Field Name: email_address
Invalid Content:
if RowCount(LookupRows("TEST","emailaddress",email_address,"campaign_id",@ConcatenatedCampaign)) > 0
then\nRaiseError("Do not send to subscriber", true)
Error 2 : Invalid Function Call
The specified attribute or custom object field name was not found for this client.
Function Call :
InsertDE("TEST","emailaddress",email_address,"campaign_id",@ConcatenatedCampaign,"jobid",jobid,"emailname",@campaignName,"subscriberkey",subscriberkey)
Attribute or Field Name: email_address
Invalid Content:
InsertDE("TEST","emailaddress",email_address,"campaign_id",@ConcatenatedCampaign,"jobid",jobid,"emailname",@campaignName,"subscriberkey",subscriberkey)
Error 3 : Invalid Function Call
The specified attribute or custom object field name was not found for this client.
Function Call :
InsertDE("TEST","emailaddress",email_address,"campaign_id",@ConcatenatedCampaign,"jobid",jobid,"subscriberkey",subscriberkey) Attribute or Field Name: email_address
Invalid Content :
InsertDE("TEST","emailaddress",email_address,"campaign_id",@ConcatenatedCampaign,"jobid",jobid,"subscriberkey",subscriberkey)