我正在尝试使用Google Cloud Vision API(测试版),并且返回“权限被拒绝”消息。但是为该项目启用了“ Cloud Vision API”。任何帮助表示赞赏。
Google API Explorer的错误详细信息
403 OK
- Show headers -
{
"error": {
"code": 403,
"message": "Project has not activated the vision.googleapis.com API. Please enable the API for project google.com:apisexplorerconsole (#292824132082).",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Google developers console API activation",
"url": "https://console.developers.google.com/project/292824132082/apiui/api"
}
]
}
]
}
}
Run Code Online (Sandbox Code Playgroud) 我在重新构建并重新开始cookiecutter-django docker-compose生产时遇到了这个问题。我可以通过删除所有的码头工人停止容器或通过增加来解决这个rm -f './celerybeat.pid'在/compose/production/django/celery/beat/start.sh类似/compose/local/django/celery/beat/start.sh。是否有任何理由不在撰写文件的生产版本中包含此特定代码?