We noticed that when an import fails using the `POST /uploads/v2/contactlist` endpoint, the API response does not indicate that the import has failed. It responses with `200 OK`
{
"correlationId": "c5215965-a32a-4d99-aa27-223494254911"
}
According to Genesys Support, their backend logs show that the import generated the following event:
* `eventId`: `5b800feb-b27f-52c1-b7a5-6d73264f2d10`
* `category`: `IMPORT_ERROR`
* `code`: `IMPORT_FAILED_TO_READ_HEADERS`
The same error is also visible in the Genesys Cloud UI, where the contact list displays the message:"Import failed to read headers."
However, our custom application, which initiates the contact list upload via the `POST /uploads/v2/contactlist` endpoint, always receives an HTTP `200 OK` response along with a correlation ID in the response body, regardless of whether the import succeeds or fails.
Because the API response does not reflect the final import status, our application has no way to detect that the import failed and therefore cannot automatically retry the upload.
Has anyone encountered this behavior? Is there a recommended way to determine whether an import has failed when using this endpoint? For example, is there an event, callback, or API that should be used to retrieve the final import status after receiving the initial `200 OK` response?
P..S. Genesys Support advised to post this issue in here.
#PlatformAPI------------------------------
Darius Arlauskas
Written Communication Process Analyst
------------------------------