Skip to content

upload_pipeline fails with 400 Bad Request while PipelineJob.submit() works with same pipeline #4411

@devrivne

Description

@devrivne

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions