Migration of Quality Management Surveys Failing for Email Interactions

We are currently in a migration phase to Genesys Cloud version 2024.05 from a legacy on-premise system. The objective is to transfer existing quality management scoring rules and survey templates. After importing the configuration using the Data Import tool, email interaction scores do not calculate correctly. The system shows Survey Pending for interactions older than last week.

We are using the POST /api/v2/quality/surveys endpoint to push updates manually. Error received states: 400 Bad Request - Invalid template version. Template ID is 1234567890. Environment AWS US-East-1.

This issue often appears when the migration script does not preserve the interaction ID mapping correctly! The interactionId must match the source system exactly for historical scoring to persist. In voice calls, we look at SIP headers like X-Genesys-Interaction-ID. Please check if the migration script respects RFC 3261 standards for URI parameters during transfer.

A quick fix is to re-index the data via the Quality API rather than manual import.

Check the HTML template content in the quality.surveys configuration block. Sometimes email templates fail because of inline CSS restrictions in Cloud versus legacy. Check the payload for base64 encoded images.

Use GET /api/v2/quality/surveys/{surveyId} to compare the live version against the export file. Ensure the schema version matches 2.0 exactly.