Error: HTTP Error: 400, Request contains an invalid argument. when running firebase functions:config:set
Error: HTTP Error: 400, Request contains an invalid argument. when running firebase functions:config:set
我正在关注 this tutorial。其中有一个步骤说明:
Now we have our signing secret and our API key, let’s add them to our Firebase project as environment variables so we don’t need to check them in to any source control.
$ firebase functions:config:set \
keys.webhooks="your_restricted_key" \
keys.signing="your_signing_key"
所以我将受限密钥设置为我的 webhook 的令牌密钥,并将签名密钥设置为我的可发布密钥。然后我尝试 运行 控制台中的代码(上面代码中的命令)。
失败,返回以下错误:
Error: HTTP Error: 400, Request contains an invalid argument.
删除正斜杠:
$ firebase functions:config:set
keys.webhooks="your_restricted_key"
keys.signing="your_signing_key"
如果不行请告诉我,谢谢NCT 127
我正在关注 this tutorial。其中有一个步骤说明:
Now we have our signing secret and our API key, let’s add them to our Firebase project as environment variables so we don’t need to check them in to any source control.
$ firebase functions:config:set \
keys.webhooks="your_restricted_key" \
keys.signing="your_signing_key"
所以我将受限密钥设置为我的 webhook 的令牌密钥,并将签名密钥设置为我的可发布密钥。然后我尝试 运行 控制台中的代码(上面代码中的命令)。
失败,返回以下错误:
Error: HTTP Error: 400, Request contains an invalid argument.
删除正斜杠:
$ firebase functions:config:set
keys.webhooks="your_restricted_key"
keys.signing="your_signing_key"
如果不行请告诉我,谢谢NCT 127