Trying to add contacts to an existing contact list. I'm unable to have a successful post. Any thoughts?
My error:
Exception when calling OutboundApi->post_outbound_contactlist_contacts: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json', 'Content-Length': '317', 'Connection': 'keep-alive', 'Date': 'Wed, 10 Jan 2024 22:37:18 GMT', 'ININ-Correlation-Id': 'd36eddb4-adeb-4ea6-a1e4-08a95ed14adf', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Cache-Control': 'no-cache, no-store, must-revalidate', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 2ac244f3035dac54badc413a33e6e00c.cloudfront.net (CloudFront)', 'X-Amz-Cf-Pop': 'CMH68-P5', 'X-Amz-Cf-Id': 'KiONTCXS8yvuK4tAtzqtkxIKd2bsRAaffgwbvMBx1wSX2FjCMls8zQ=='})
HTTP response body: {"message":"The contact columns do not match what is required in the list","code":"invalid.contact.columns","status":400,"messageWithParams":"The contact columns do not match what is required in the list","messageParams":{"columnName":"[]"},"contextId":"d36eddb4-adeb-4ea6-a1e4-08a95ed14adf","details":[],"errors":[]}
Process finished with exit code 0
My column headers do match the contact list headers, and I've had success trying using the API explorer.
"data": {
"first_name": "Bandy",
"last_name": "Zztest",
"phone_best": "15555551212",
"time_zone": "America/New_York"
},