Trying to port our Twilio secret handling over to Genesys by hitting POST /api/v2/dataactions/secrets/encrypt from a Java service, but the compute engine keeps rejecting the payload with a 422 Unprocessable Entity when cipher.length() crosses 256 bytes. The request body looks like {"functionId": "f8a2c1", "secretMatrix": ["k1", "k2"], "rotationDirective": "auto", "payload": base64Encoded} and I’ve already stripped the trailing padding to match max cipher length limits.
The vault sync triggers fine on the atomic POST, yet the access policy verification pipeline still flags a plaintext exposure risk during Data Actions scaling. Just need the exact ObjectMapper config that bypasses the 422.