The upload_pipeline API consistently fails with a 400 Client Error: Bad Request, while submitting the same pipeline using aiplatform.PipelineJob(...).submit() works without any issues.
This makes it unclear whether the problem is with the pipeline YAML validation, the upload_pipeline API itself, or missing documentation on required fields.
Error
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url:
Reproduction Steps
Use the following code to upload a pipeline template: https://github.com/search?q=repo%3AGoogleCloudPlatform%2Fvertex-ai-samples%20upload_pipeline&type=code
The upload_pipeline API consistently fails with a 400 Client Error: Bad Request, while submitting the same pipeline using aiplatform.PipelineJob(...).submit() works without any issues.
This makes it unclear whether the problem is with the pipeline YAML validation, the upload_pipeline API itself, or missing documentation on required fields.
Error
Reproduction Steps
Use the following code to upload a pipeline template: https://github.com/search?q=repo%3AGoogleCloudPlatform%2Fvertex-ai-samples%20upload_pipeline&type=code