I am using InfluxDB v2.4.0 and I still have the sam error.
I follow the API doc, I believe the doc is not the latest for CreateCheck
The API endpoint : /api/v2/checks/
Method: POST
The error
{‘code’: ‘internal error’, ‘message’: ‘a panic has occurred: /api/v2/checks: runtime error: invalid memory address or nil pointer dereference’}