Create webhook api returning 200 but with error

When creating a webhook from my go application, I get a status code 200 but an error in the body
{“error”:“OK”,“code”:“FST_ERR_CTP_INVALID_MEDIA_TYPE”,“message”:“Internal Server Error (950b6155-2acc-473f-8457-893df0941c8f)”,“status_code”:200}

I forgot to set the accept json header