Hitting a wall trying to create a new contact list via the /api/v2/outbound/contactlists endpoint. The payload is minimal, just the name and description, yet it keeps rejecting with a 400 Bad Request.
The error body is cryptic:
{
"errors": [
{
"code": "INVALID_VALUE",
"message": "Invalid value for field 'name'"
}
]
}
Here’s the request body I’m sending:
{
"name": "Test List Sydney",
"description": "Automated test list"
}
I’ve checked the schema docs. The name field is supposed to be a simple string. I’ve tried removing the space, using underscores, and even just “Test”. Same error. The description field is optional, so that shouldn’t matter.
Curious if there’s a hidden validation rule I’m missing. The API key has full outbound permissions. I can fetch existing lists without issue. It’s just the creation that fails.
Any ideas? I’ve been staring at this for an hour and it’s driving me nuts.