Contact Lists APIs - return 400 instead of failing silently

Description

The endpoint for clearing contacts is asynchronous; this means that if customers run the endpoint to clear contacts and then add/update contacts, those newly added/updated contacts could be cleared out as well and customers would have no indication of this data loss.

Upon the date of change, we will return a 400 error code if a clear operation is in progress.

Note: the request that's being made today is resulting in an error, but the resource is failing to inform the user. As such, we consider this change to be a bug fix rather than the introduction of a new behavior.

Change Category

API

Change Context

To avoid customer data loss.

Change Impact

Customers will receive a 400 when adding contacts via the API if their command to clear contacts has not yet finished.

Date of Change

Jan 11, 2023

Impacted APIs

POST /api/v2/outbound/contactlists/{contactListId}/contacts
PUT /api/v2/outbound/contactlists/{contactListId}/contacts/{contactId}

References

[LM-1241]

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.