KV API Bulk PUT Error 10012

Writing a bulk Put and can’t figure out what’s wrong here. My JSON is valid.

Here is the error I’m getting


{ "result": null, "success": false, "errors": [ { "code": 10012, "message": "could not parse array of key/value objects from request body: 'could not unmarshal KVPair into intermediate struct: 'json: cannot unmarshal object into Go struct field kvPairJSON.value of type string''" } ], "messages": [] }






`response = requests.put(

    f"{CF_BASEURL}/bulk", headers=headers, data=json.dumps(payload))`

Any ideas?