【问题标题】:Error: 3 INVALID_ARGUMENT: Location must equal europe-west1 because the App Engine app that is associated with this project is located in europe-west1错误:3 INVALID_ARGUMENT:位置必须等于 europe-west1,因为与此项目关联的 App Engine 应用位于 europe-west1
【发布时间】:2020-05-09 14:03:58
【问题描述】:

我在Firestore Functions 中编写了一个函数,它使用Google Cloud Tasks 在将来触发另一个函数。它的问题是它会引发以下错误:

错误:3 INVALID_ARGUMENT:位置必须等于 europe-west1,因为与此项目关联的 App Engine 应用位于 europe-west1

我尝试将函数位置更改为europe-west1,正如它所说,但我仍然遇到同样的错误。我该怎么办?

【问题讨论】:

    标签: firebase google-app-engine google-cloud-platform google-cloud-firestore


    【解决方案1】:

    我不知道这是一个错误还是什么,但更新这些解决了问题:

    npm install -g firebase-tools@latest

    在函数目录中:

    npm install firebase-functions@latest --save

    npm install firebase-admin@latest --save-exact

    【讨论】:

    • 似乎没有解决我的问题:/但我从函数本身更改了它functions.region('my-region').pubsub...
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-09-17
    • 1970-01-01
    • 1970-01-01
    • 2021-12-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多