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:
- Created 4 years ago
- Comments:11 (4 by maintainers)
Still unresolved even using firebase 7.8.2:
https://github.com/firebase/firebase-tools/issues/1500#issuecomment-586678769
I’m having this issue too, suggestion from @Realtimeknowledge did not work for me