1

我正在尝试手动部署 GTM 服务器容器。我正在遵循谷歌的这个配置指南:

https://developers.google.com/tag-manager/serverside/script-user-guide

一切似乎都运行良好,但是在尝试预览我的容器时出现以下错误

Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.

当我在云外壳中运行命令时,gcloud app logs read出现以下错误Error: Failed to decode the container config.

任何想法?我能做些什么?

4

1 回答 1

1

这听起来很明显,但是如果有人遇到同样的问题,您需要做的就是在设置服务器时将从 GTM 接口获得的容器配置代码传递给容器配置变量。

于 2021-04-05T15:55:29.740 回答