Cognigy webhook payload mapping to CXone routing_attributes failing with 400

Sending a POST to /api/v2/routing/attributes from Cognigy with the intent score in the payload. Getting a 400 Bad Request with "message": "Invalid routing attribute value type".

The JSON body is:

{"name": "cognigy_intent", "value": "0.95", "type": "STRING"}

Checked the docs and type should be STRING. Any idea why it’s rejecting it?