A
403 from any endpoint means the key is missing, wrong, or not enabled for that endpoint.
Keeping keys safe
- Keep keys in your build configuration or secrets store (a Gradle property,
local.properties, CI secrets), never in source control. - A key in an app can be read from the installed app. That is expected for the SDK key, which only uploads data to your account. Keys that read data, such as the last meter key, belong in the apps and backends that need them, not in public samples.
- If a key leaked, ask us for a new one; the old one is then switched off.