我已经按照谷歌的教程(https://firebase.google.com/docs/firestore/solutions/schedule-export)从Firestore自动备份,但当测试我得到以下错误.有人知道原因可能是什么吗?
{
"insertId": "120xbvof7bzqog",
"jsonPayload": {
"targetType": "PUB_SUB",
"pubsubTopic": "projects/project-id/topics/firebase-schedule-firestoreBackup-europe-west1",
"@type": "type.googleapis.com/google.cloud.scheduler.logging.AttemptFinished",
"status": "UNAUTHENTICATED",
"jobName": "projects/project-id/locations/europe-west1/jobs/firebase-schedule-firestoreBackup-europe-west1"
},
"resource": {
"type": "cloud_scheduler_job",
"labels": {
"job_id": "firebase-schedule-firestoreBackup-europe-west1",
"location": "europe-west1",
"project_id": "project-id"
}
},
"timestamp": "2022-12-04T18:48:14.620365335Z",
"severity": "ERROR",
"logName": "projects/project-id/logs/cloudscheduler.googleapis.com%2Fexecutions",
"receiveTimestamp": "2022-12-04T18:48:14.620365335Z"
}
1条答案
按热度按时间jq6vz3qz1#
此错误消息指示云计划程序作业无法通过其尝试发布到的云发布/订阅主题进行身份验证。出现这种情况的可能原因有以下几种:
您还可以尝试从云计划程序控制台手动运行云计划程序作业,这将允许您查看更详细的错误消息,以帮助您诊断问题。此外,您可以为云计划程序作业启用Stackdriver日志记录,这将允许您在云日志记录控制台中查看更详细的日志,以帮助您了解导致身份验证失败的原因。