Invalid memory address or nil pointer dereference error

Keep getting invalid memory address or nil pointer dereference error when trying to create check via API v2.

The API endpoint : /api/v2/checks/
Method: POST

Able to generate query and works fine from the UI. Error is generated via API.

Thanks in advance!

Could you provide your full API request (leaving out tokens and secrets)? Which version of influxdb are you using?

Please crosscheck your API call with https://v2.docs.influxdata.com/v2.0/api/#operation/CreateCheck

There should be a better error message so I’m curious.