# ValueError: The task `summarization_v2` is not supported by the pipeline. Supported tasks are: ['text-classification', 'token-classification', 'question-answering', 'summarization', 'translation', 'text-generation', 'zero-shot-classification', 'fill-mask']

- **ID:** `huggingface/pipeline-task-not-supported`
- **Domain:** huggingface
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 95%

## Root Cause

The pipeline task name is misspelled or does not exist in the supported task list, often due to a typo or using an outdated task identifier.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| transformers>=4.20.0 | active | — | — |
| python>=3.7 | active | — | — |

## Workarounds

1. **Use the correct task name from the supported list. Example: pipe = pipeline('summarization', model='facebook/bart-large-cnn')** (95% success)
   ```
   Use the correct task name from the supported list. Example: pipe = pipeline('summarization', model='facebook/bart-large-cnn')
   ```
2. **Check the model's config for the correct task: model.config.task_specific_params or use AutoModelForSeq2SeqLM for summarization.** (85% success)
   ```
   Check the model's config for the correct task: model.config.task_specific_params or use AutoModelForSeq2SeqLM for summarization.
   ```

## Dead Ends

- **** — Pipeline tasks are predefined; custom tasks require subclassing and registering. (80% fail)
- **** — Task names must exactly match the supported list; 'text2text-generation' is not a valid pipeline task. (70% fail)
