Oh yeah! That’s good! So there is 1 last thing we need to do and then it is going to work. In InfluxDB2 we have buckets. In influxDB1 it is databases. You can learn more here:
So to be able to query buckets, you have to map unmapped buckets:
I just ran this in my terminal:
curl --request POST https://eu-central-1-1.aws.cloud2.influxdata.com/api/v2/dbrps \
--header "Authorization: Token InputYourToken" \
--header 'Content-type: application/json' \
--data '{
"bucketID": "05c452b464dbb000",
"database": "arduino",
"default": true,
"orgID": "bbegc202024380d0",
"retention_policy": "30d"
}'