Skip to content

[Feature Request]: Improve validation error messages during pipeline deployment #5781

@benisprlh

Description

@benisprlh

Issue: Validation Error Message is Not Informative (During Deploy)
Image

Description

When attempting to deploy a pipeline, a validation error may occur. However, the system only displays a generic message:

Validation error  
Validation failed

This message does not provide sufficient detail to identify the root cause of the issue, making debugging difficult.


Steps to Reproduce

  1. Open Transform and Validate in the pipeline.
  2. Configure transformation logic and input data.
  3. Click Deploy.
  4. Observe the error message when validation fails.

Expected Behavior

The validation error message should be descriptive and actionable, especially during deployment. It should include:

  • The specific field or configuration causing the error
  • The reason for failure (e.g., invalid syntax, missing field, type mismatch)
  • (Optional) Suggested fix or guidance

Example:

Validation error:
- Field `key.expression` is invalid
- Reason: JMESPath expression failed to evaluate (missing field `customer_id`)

Actual Behavior

During deployment, only a generic error message is shown:

Validation error  
Validation failed

No additional context or debugging information is provided.


Impact

  • Makes deployment troubleshooting difficult
  • Increases time spent identifying configuration issues
  • Leads to trial-and-error debugging
  • Degrades developer experience

Suggested Improvement

Enhance validation error reporting during deployment by:

  • Providing structured error details (field path + error message)
  • Explaining the root cause clearly
  • Including optional hints or links to documentation

Additional Context

This issue is particularly problematic when working with:

  • JMESPath expressions
  • Complex transformation logic
  • Nested configurations in pipeline setup

Summary

Validation errors during deployment should provide clear and actionable feedback instead of generic messages. Improving this will significantly enhance usability and efficiency.


Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions