Setting wrap-up codes via POST /api/v2/conversations/{id} failing

We’re trying to set a wrap-up code programmatically after a call ends using the Node SDK. The conversation status is already COMPLETE. We POST to /api/v2/conversations/{conversationId} with a JSON payload containing the routingData object and the specific wrapUpCode. But we get a 400 Bad Request. The error message is vague, just saying the request is invalid. We’ve checked the doc for the payload structure but it seems right. Here’s what we’re sending: