WFM API 409 Conflict on Schedule Import via AppFoundry Integration

Developing a scheduled workforce management integration for an enterprise client using the Genesys Cloud Platform API. The deployment involves pushing shift data from an external ERP system into Genesys Cloud via a custom AppFoundry application. The integration uses the standard OAuth 2.0 client credentials flow to authenticate against the specific org environment.

The issue arises when attempting to update existing schedule assignments via the PUT /api/v2/wfm/schedules/{scheduleId}/assignments endpoint. The API consistently returns a 409 Conflict response with the following error payload:

{
 "code": "conflict",
 "message": "The resource you are trying to modify has been changed by another user or process since you last retrieved it.",
 "status": 409,
 "errors": []
}

This occurs even when the integration is the only entity modifying the schedule in question. The ETag header is being captured from the initial GET request and passed correctly in the If-Match header of the subsequent PUT request. However, the conflict persists. It appears that background processes within Genesys Cloud, possibly related to real-time adherence calculations or automated optimization rules, are updating the underlying schedule metadata, causing the ETag to invalidate between the read and write operations.

Has anyone encountered similar ETag invalidation issues with WFM API endpoints? Is there a recommended retry strategy or a specific header that can be used to force an update without relying on strict ETag matching for bulk assignment imports? The current implementation includes a basic exponential backoff with a maximum of three retries, but this does not resolve the conflict as the ETag continues to change. The client requires high-fidelity schedule synchronization, and manual intervention to refresh the ETag is not a viable solution for their volume of shifts. Looking for best practices from other AppFoundry developers handling large-scale WFM data imports.