---
url: /errors/direct_debit_not_found.md
---
# `direct_debit_not_found`

`direct_debit_not_found`

## Description

The requested direct debit does not exist or is not in FAILED status.

## HTTP Status

`404 Not Found`

## `doc_url` Format

The `doc_url` value is an absolute URL and changes by environment:

`<docs-base-url>/errors/direct_debit_not_found`

## Typical Causes

* The `directDebitId` in the request path does not match any direct debit.
* The direct debit exists but is not in `FAILED` status yet.
* The request points to the wrong tenant or environment.

## Example

Response:

```json
{
  "errors": [
    {
      "code": "direct_debit_not_found",
      "message": "No DirectDebit was found for id='00000000-0000-4000-8000-000000000000'",
      "doc_url": "https://docs.example.com/errors/direct_debit_not_found"
    }
  ]
}
```

## How To Fix

1. Verify the direct debit ID and request path.
2. Use a direct debit that is actually in FAILED status.
3. Retry the request with a valid failed direct debit ID.
