> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blujay.io/llms.txt
> Use this file to discover all available pages before exploring further.

# WORKFLOW_VALIDATION_ERROR

> Enrollment invalid

| HTTP status | Retryable |
| - | - |
| `422` | No |

## What happened

The workflow or the enrollment input is not valid, for example because the workflow has no published version.

## How to fix it

Read `error.message`. Publish the workflow or correct the input, then send the enrollment again.

## Example response

An illustrative example. The `message` wording and the contents of `details` vary; branch on `error.code`.

```json theme={null}
{
  "status": "error",
  "error": {
    "code": "WORKFLOW_VALIDATION_ERROR",
    "message": "Enrollment invalid",
    "type": "validation",
    "http_status": 422,
    "retryable": false,
    "doc_url": "https://docs.blujay.io/errors/workflow-validation-error",
    "details": []
  },
  "trace_id": "trc_8f2a1c0e4b7d",
  "timestamp": "2026-10-14T17:30:48.000Z"
}
```

## Still stuck?

Email [support@blujay.io](mailto:support@blujay.io) with the `trace_id` from the error response. See [Errors](/errors.md) for the response format.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.