Creating Checks via influxdb-client

Hey everyone.

I am trying to create thresholds via the influxdb-java-client. Fetching & Posting Data to the database works fine.

I’ve got an issue concerning the authorization:

influxDBclient.getChecksApi().createCheck(check) gets refused because of missing authorizations, fair enough.

The weird thing is, that influxDBclient.getAuthorizationsApi().findAuthorizations() returns an empty list, while I can fetch and post data. I am further not allowed to create any authorizations. The token, which is used for creating the client is all-access.

I sticked to the documentation on Github (GitHub - influxdata/influxdb-client-java: InfluxDB 2 JVM Based Clients), has anyone an idea what is going wrong?

Merci
Philipp