Error code

forbidden

Use a credential authorized for the route. The credential is valid but does not grant access to the requested route group.

What happened

Unlike unauthorized, changing the header syntax or request body cannot add permission. The credential must be replaced or its access changed outside this request.

Do this next

Use a key or session that is authorized for the route, or ask the Cardog account owner to grant access. Do not retry unchanged with the same credential.

Corrected request

bash

curl "https://api.cardog.app/v2/vin/1HGCM82633A123456" \
  -H "x-api-key: $AUTHORIZED_CARDOG_API_KEY"