# BigQuery: Not found: Dataset my-project:analytics was not found in location EU

**Code:** `BigQuery: Not found: Dataset was not found in location` · **Category:** Google Cloud / Firebase · **Seen on:** Google Cloud

BigQuery looked for the dataset in the wrong location (region) or the dataset doesn't exist.

## Meaning

Datasets live in one location (US, EU, europe-west1…). Queries must run in that location and can't join datasets from different locations. Set the job location in the client or the console's query settings, and check name and project spelling.

## Common causes

- Query job running in a different location than the dataset
- Typo in project/dataset/table
- Dataset deleted or never created
- Cross-location JOIN
- Wrong default project

## Quick fix

1. Set the job location: `bq query --location=EU ...`
2. Verify with `bq ls -d` and `bq show`
3. Copy data to a dataset in the same location for joins

## Detailed fix by platform

### bq

1. `bq show --format=prettyjson PROJECT:DATASET | grep location`

## How to diagnose

1. **Location** — Dataset vs job?
2. **Name** — Spelled correctly?
3. **Join** — Same location?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/gcp/bigquery-not-found-dataset-location)
