DBRP mapping command does not work

curl -XPOST https://us-central1-1.gcp.cloud2.influxdata.com/api/v2/dbrps \
  -H "Authorization: Token YourAuthToken" \
  -H 'Content-type: application/json' \
  -d '{
        "organization": "example-org",
        "bucket_id": "12ab34cd56ef",
        "database": "example-db",
        "retention_policy": "example-rp",
        "default": true

as is explained on this page

```but that just compains about invalid json structure...doesn't look particularly wrong to me, so wondering how to fix this?

Hello @cheyert,
Does any curl request work for you? For example, can you write data like so?

curl -XPOST "http://localhost:9999/api/v2/write?org=my-org&bucket=my-bucket&precision=s" \
  --header "Authorization: Token MYTOKEN" \
  --data-raw "mymeasurement,mytag=yay myfield=20"

Can you run
show databases and show retention policies to ensure that you have that database and retention policy?

I think we are mixing 2 instances…
the localhost link works for a local instance of InfluxDB, but I am trying to find out about databases in the cloud

I can get data out of influxDB cloud using flux queries in Grafana, but for one particular plugin (grafana worldmap ) this doesn’t seem to work. I can’t find any example.
I don’t know what the database name is that goes with my bucket, so I am trying to map these…so that I can perhaps use InfluxQL to get gps coordinates, as I know that works with a local instance of InfluxDB…just not InfluxDB cloud