Reputation: 11
Trying to create a PipelineJob following the Vertex AI API docs.
According to the docs, if a templateUri is given then it will use it to download the pipelineSpec
A template uri from where the PipelineJob.pipeline_spec, if empty, will be downloaded.
But when calling the API, it is complaining about missing required field.
{
"displayName": "pipeline test",
"templateUri": "gs://bucket-name/3a279d63-f965-4db2-b54c-ad933b04d278.json"
}
POST -
POST https://{service-endpoint}/v1/{parent}/pipelineJobs
{
"error": {
"code": 400,
"message": "Required field pipelineInfo is not specified. ",
"status": "INVALID_ARGUMENT"
}
}
PipelineInfo downloaded from templateUri
Upvotes: 1
Views: 162
Reputation: 64
The closest I got to resolving this issue was when I found that the pipelineInfo has a field called "name" from google.
After I provide some random name, it throws the following error. I couldn't find reference for the "tasks" field either from the documentation.
"error": {
"code": 400,
"message": "Required field tasks is not specified. ",
"status": "INVALID_ARGUMENT"}
Upvotes: 0