tried atomic PUT to /api/v2/routing/queues/{id} via go SDK. payload has wrap-up codes, requirement matrix, bypass directives. hitting 400 bad request. error cites maxCodeDefinitionLimit but count is low. schema validator passes locally. it’s probably the enforcement object clashing with routing gateway constraints. here’s the marshalled struct:
type Enforcement struct {
QueueID string `json:"queueId"`
Codes []Code `json:"wrapUpCodes"`
Matrix Matrix `json:"requirementMatrix"`
Bypass Bypass `json:"bypassPolicy"`
}
why is the compliance check pipeline rejecting this? webhook callbacks show latency spikes on failure too. does the mandatory flag require an agent status check first? doesn’t seem right. stuck on the validation logic