跳至內容

How does my AWS mailing list need to be formatted?

0

I'm completely new at this. And I keep getting the response "The input fails to satisfy the constraints specified by an AWS service. 1 validation error detected: Value at 'name' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9_.-]+" What am I doing wrong? It says the header "address" must be in the list. I have added it as a header to the csv file. I have added it as the first entry on the list. The list only includes email addresses. No names, locations, or other info, just a single column of email addresses. What am I doing wrong here?

Edit: I have changed the column names to Name and Address as suggested. I have given each one a name of "xyz" followed by a sequential number. I am still receiving the same error message. Can anyone offer any more insight? I'm stumped. HELP!

已提問 5 個月前檢視次數 35 次
1 個回答
0

The error you’re seeing usually happens because AWS expects your mailing list’s "Name" field to match a specific pattern, only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), or hyphens (-). It looks like your CSV is missing that Name column, or it contains characters outside that pattern.

Even if you only want to import email addresses, AWS requires each entry to have a valid "Name" field as an identifier. So your CSV should have at least two columns: one named Name (with values matching the allowed pattern, simple usernames or IDs) and one named Address (with the email addresses).

If you want to keep it simple, just create a Name column with simple alphanumeric strings for each email. Avoid spaces or special characters there. Also, make sure your CSV file uses UTF-8 encoding and that headers are exactly spelled as Name and Address (case-sensitive).

已回答 5 個月前
  • So just for clarification, the name field can't have spaces?

  • Apparently I'm an idiot. Does every address have to have a unique name? I have changed the "name" column to all entries showing "name" as the name. Do I need a unique identifier for each one?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。