Unable to create release

I am trying to create a new release from a script but I got an unexpected error: the requestModel field is required. What could I do wrong?

curl --verbose --location --request POST https://api.cryptlex.com/v3/releases --header 'Content-Type: application/json' --header 'Authorization: Bearer token' --header 'Content-Type: application/json' -d '{
    "name": "files 5.2",
    "version": "5.2.1038",
    "channel": "resources_5.2",
    "platforms": [
    "windows" 
    ],
    "private": true,
    "notes": "5.2.1038",
    "productId": "id",
    "createdAt": ""
}'


< HTTP/1.1 400 Bad Request

< Date: Fri, 03 Jan 2025 11:03:04 GMT
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
{"message":"The requestModel field is required."}

Hi,

Try removing the "createdAt": "" property from the request.

Thanks! That did the trick. I misunderstood the null condition. Also when I use null it works