Skip to main content
This guide covers common problems you may encounter when working with pipelines and provides solutions to resolve them quickly.

Installation & Authentication Issues

SDK Installation Fails

Problem: pip install fails with dependency errors Solutions:

Authentication Fails

Problem: bud auth login doesn’t work or shows errors Solutions:
Manually copy the URL from the terminal and open it in your browser.
Get your API key from the dashboard.

Pipeline Creation Issues

Pipeline Registration Fails

Problem: bud pipeline create returns validation errors Common Causes & Solutions:
Error: “Pipeline file must export ‘dag’ variable”Solution: Ensure your file ends with:
Error: “Unknown action type: xyz”Solution: Use valid action types: log, transform, http_request, ml_training, ml_inference, set_output, conditional, parallel
Error: “Circular dependency detected”Solution: Remove circular references in .after() chains:
Error: “SyntaxError in pipeline definition”Solution: Validate Python syntax:

Pipeline Execution Issues

Execution Fails Immediately

Problem: Pipeline fails right after starting Debugging Steps:
  1. Check execution logs:
  2. Look for parameter errors:
  3. Verify pipeline definition:

Template Resolution Errors

Problem: Action fails with “Cannot resolve template variable” Error Examples:
  • Cannot resolve ${params.missing_param}
  • Cannot resolve ${steps.nonexistent.output}
Solutions:
Cause: Parameter wasn’t provided during executionSolution: Include all required parameters:
Cause: Referenced step doesn’t exist or hasn’t executed yetSolution: Check action IDs match:
Cause: Incorrect path to nested output fieldSolution: Use correct JSON path:

Action Timeout Errors

Problem: Action status shows “timeout” Solutions:
For legitimately long-running tasks:
  • Reduce data size
  • Use more efficient algorithms
  • Enable caching
  • Consider splitting into smaller actions
Look for infinite loops or blocking operations in custom action code.

Retry Exhaustion

Problem: Action fails after all retry attempts Debugging:
Solutions:
  • If transient: Increase retry attempts
  • If permanent: Fix the underlying issue (wrong URL, invalid data, etc.)

Conditional Actions Never Execute

Problem: Action with .when() is always skipped Solutions:
Check what values are being compared:
Ensure types match:

Performance Issues

Slow Pipeline Execution

Problem: Pipeline takes much longer than expected Optimization Strategies:
  1. Enable parallel execution:
  2. Reduce action timeouts:
  3. Cache results:
  4. Optimize data transfers:
    • Reduce data size passed between actions
    • Use references instead of copying large data
    • Compress data when possible

High Resource Usage

Problem: Pipeline consumes excessive memory or CPU Solutions:
  • Process data in batches
  • Stream large datasets instead of loading all at once
  • Use efficient data formats (Parquet instead of CSV)
  • Configure resource limits per action

API & Network Issues

HTTP Request Actions Fail

Problem: http_request actions fail with network errors Common Causes:
Add delays and retries:

Cannot Connect to Bud AI Foundry

Problem: SDK cannot reach Bud AI Foundry API Solutions:
  1. Check network connectivity
  2. Verify API endpoint:
  3. Check firewall settings
  4. Verify SSL certificates

Data Issues

Data Validation Fails

Problem: validate_schema action fails Solutions:
Log the data first to see what you’re receiving:
Be flexible with validation rules:

Data Transformation Errors

Problem: Transform actions produce unexpected results Debugging:

Getting Help

If you can’t resolve an issue:
  1. Check logs:
  2. Review execution details:
  3. Search documentation:
  4. Community support:
  5. Contact support:

Reporting Bugs

When reporting a bug, include:

Pipeline Concepts

Learn fundamental concepts

Quick Start

Get started with pipelines

API Reference

Complete API documentation

GitHub

View source code and examples