首页 > 解决方案 > GCP调度程序目标http与url不起作用“无效参数”

问题描述

我创建了一个不带任何参数的Dataproc 工作流模板,我想使用 Cloud Scheduler 进行调度。我采取了与https://cloud.google.com/dataproc/docs/tutorials/workflow-scheduler解释的相同步骤,并且我测试了相同的示例,但它不起作用
出现“无效参数”的错误并且不清楚。这是我在跟踪日志中的内容:

{ "targetType": "HTTP", "status": "INVALID_ARGUMENT", 
"url": "https://dataproc.googleapis.com/v1/projects/dev/regions/europe-west1/workflowTemplates/mytemp16:instantiate?alt=json", 
"@type": "type.googleapis.com/google.cloud.scheduler.logging.AttemptFinished", "jobName": "projects/dev1/locations/europe-west3/jobs/hello2" } 

标签: google-cloud-platformworkflowschedulergoogle-cloud-dataproc

解决方案


推荐阅读