---
url: "https://vueda.dev/v3/reference/api/py/vueda.workflow.exceptions/WorkflowNotConfiguredError.md"
title: "WorkflowNotConfiguredError"
---

# WorkflowNotConfiguredError

## Overview

A model enables ``class Vueda.Workflow``, but no ``Workflow`` definition exists for it.

Enabling workflow promises the workflow fields, filters, and authorization rules. Without the
definition there are no states or transitions to honour that promise with, so every workflow
path reports this one error rather than treating the model as an ordinary one. The API
exception handler returns it as HTTP 500 with the message as ``detail``.

## `__init__` {#--init--}

### Signature {#--init---signature}

`__init__(model)`

#### Parameters {#--init---parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="--init---param-model">model</span> |  | yes |  |  |

### Source {#--init---source}

`server/vueda/workflow/exceptions.py:24`

## `model` {#model}

## Source

`server/vueda/workflow/exceptions.py:15`
