The Quality Management module is currently failing to map custom containment duration fields for web messaging sessions. Running a multi-client agency setup on US-EAST-1. The Architect flow (ID: WEM-UX-ONBOARD-09) tracks how long a visitor stays in the decision tree before hitting the agent handoff node. That duration gets pushed into a custom interaction attribute called wem_containment_sec. The UX team requires that exact metric inside the QA scoring rubric to measure bot friction, but the evaluation form keeps rejecting the mapping.
When the QA specialist attempts to save the updated form, the interface throws a validation block. Network tab shows a 422 Unprocessable Entity on the /api/v2/quality/forms endpoint. Payload reads:
{
"code": "INVALID_VALUE",
"message": "Attribute 'wem_containment_sec' is not recognized as a valid conversation property for WEM interactions.",
"details": "Field mapping failed during schema validation."
}
Documentation for the Quality API barely mentions web engagement attributes. Mostly focused on voice and screenpop data. The flow definitely writes the variable before the handoff, and conversation detail logs show the value populating correctly in real-time. Console version is 23.12. Maybe the Quality engine just doesn’t index WEM custom attributes yet. Or there’s a schema extension step missing. The form builder interface locks up whenever you drag a custom metric into the scoring section.
Raw evaluation export CSV just leaves the column blank. Containment tracking is solid on the front end, but the backend scoring layer refuses to acknowledge it. Tried clearing the cache, rebuilding the form from scratch, toggling the WEM integration off and back on. Nothing changes the validation error. i’m not sure if the Quality API supports dynamic WEM variables at all. The scoring rubric needs that friction metric to actually justify the bot containment claims.
curl -X POST "https://api.us-east-1.genesys.cloud/api/v2/quality/forms" \
-H "Authorization: Bearer <token>" \
-d '{"formName": "WEM Containment QA", "sections": [{"fields": [{"attributeName": "wem_containment_sec"}]}]}'