question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: HTTP Error: 400, Location must equal europe-west1 because the App Engine app that is associated with this project is located in europe-west1

See original GitHub issue

[REQUIRED] Environment info

Latest:

  • firebase-tools@7.11.0 updated 1 package in 11.916s

firebase-tools:

My CLI outputs this: matthew$ firebase --version 7.1.0

Platform: macOS Mojave 10.14.5

[REQUIRED] Test case

About 5 days ago I started to have problems deploying functions to firebase. This is following a few weeks with an existing firebase project with no deploy problems. I started to get:

“HTTP Error: 400, Location must equal europe-west1 because the App Engine app that is associated with this project is located in europe-west1”

mid deploy in the CLI. I was aware that a colleague had created a function or two in the wrong region so I manually deleted the functions in the google cloud console and I visited all of our functions and added this to each:

functions.region(‘europe-west1’)

this was to a db functions, and https and a pubsub. I also deleted the pubsub function from the google cloud console. Thus removing all previous references. Still upon deploying I get the same problem.

Today I created a new firebase project in the multi-region, eur3 (europe-west). I tried again to deploy the same code to this new project I was prompted:

Error: HTTP Error: 400, Billing must be enabled for activation of service ‘[cloudscheduler.googleapis.com]’ in project ‘xxxxxxxx’ to proceed.

I enabled billing account and then ran firebase deploy again and again get the same output.

Error: HTTP Error: 400, Location must equal europe-west1 because the App Engine app that is associated with this project is located in europe-west1

[REQUIRED] Steps to reproduce

Create a new firebase project in eur3 (europe-west) Enable a billing account Run firebase deploy using the typescript functions provided Observe CLI error output

[REQUIRED] Expected behavior

Functions should deploy (https, db and pubsub) and function without any issues showing in CLI src.zip

[REQUIRED] Actual behavior

console fails to deploy with the following error:

Error: HTTP Error: 400, Location must equal europe-west1 because the App Engine app that is associated with this project is located in europe-west1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
atereshkovcommented, Feb 16, 2020
0reactions
olliepottercommented, Jun 9, 2021

I’m having this issue too, suggestion from @Realtimeknowledge did not work for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 INVALID_ARGUMENT: Location must equal europe-west1 ...
Error : 3 INVALID_ARGUMENT: Location must equal europe-west1 because the App Engine app that is associated with this project is located in europe...
Read more >
App Engine locations - Google Cloud
Apps located in europe-west create a bucket in the EU multi-region. To learn more about Cloud Storage bucket locations, see Bucket locations. Firestore...
Read more >
ZONE_RESOURCE_POOL_EXH...
When trying to deploy a new version, i get the error message: ERROR: (gcloud.app.deploy) Error Response: [8] The region europe-west1 does not ...
Read more >
SAML app error messages - Google Workspace Admin Help
If you encounter any Security Assertion Markup Language (SAML) app error messages, here are some troubleshooting steps to help you. Encode or decode...
Read more >
Configure Hosting behavior | Firebase Hosting - Google
json file define which files in your project directory should be deployed to your Firebase project. The default hosting configuration in a firebase.json...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found