# gcloud/ADC: WARNING: Your active project does not match the quota project in your local Application Default Credentials file

**Code:** `Your active project does not match the quota project in your local ADC` · **Category:** Google Cloud / Firebase · **Seen on:** Google Cloud

Application Default Credentials bill API usage to a different project than the one you have set as active, which can cause surprising 403s.

## Meaning

ADC stores a quota project. Local tools (client libraries) use it, while `gcloud` uses the active project. Align them with `gcloud auth application-default set-quota-project PROJECT`. If the quota project lacks the API enabled, calls fail with SERVICE_DISABLED.

## Common causes

- ADC created before switching projects
- Quota project of a different team/project
- Missing `serviceusage.services.use` permission on the quota project
- API not enabled on the quota project
- Impersonation settings overriding the project

## Quick fix

1. `gcloud auth application-default set-quota-project PROJECT`
2. Ensure the API is enabled on that project
3. Grant `roles/serviceusage.serviceUsageConsumer`

## Detailed fix by platform

### gcloud

1. `gcloud config get-value project` and `cat ~/.config/gcloud/application_default_credentials.json | grep quota_project_id`

## How to diagnose

1. **Active** — gcloud project?
2. **ADC** — quota_project_id?
3. **Rights** — serviceUsageConsumer?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/gcp/adc-quota-project-warning)
