Datadog Agent 403 API Key Invalid in Kubernetes

Share
Workaround available Kubernetes Updated November 13, 2026Based on 3 user reportsHow we research

Quick answer

A 403 or API key invalid in the cluster agent usually means a wrong site setting, an Application key used instead of an API key, or a stale secret after rotation.

Most likely fix: Run agent status in a pod

How to fix it

Try these in order — the most common fix is first.

  1. 1. Run agent status in a pod

    1. kubectl exec into a node Agent pod and run agent status
    Did this fix it?
  2. 2. Use the correct key

    1. Use an API key, not an Application key
    2. Check the Kubernetes secret name and key
    Did this fix it?
  3. 3. Set the site

    1. Set datadog.site in Helm values (e.g. datadoghq.eu)
    Did this fix it?
  4. 4. Restart after rotation

    1. kubectl rollout restart daemonset/datadog -n datadog
    Did this fix it?

Symptoms

Agent pods log API Key invalid or 403; no data from cluster.

Why it happens

  • Wrong datadog.site
  • App key used as API key
  • Secret changed but pods not restarted

This guide also covers

  • datadog agent 403 forbidden
  • datadog api key invalid kubernetes

Still not working?

If Datadog keeps failing, you're not alone. See every Datadog problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Datadog errors

All 10 Datadog errors and fixes →