# Discount code not found

> The discount_code.not_found error (404) means the promo or discount code ID does not exist. Learn what causes it and how to fix it.

## Error code

```json
{
  "code": "discount_code.not_found",
  "docUrl": "https://doc.mor.payments.ai/errors/discount-code-not-found"
}
```

## HTTP status

404

## Cause

Promo/discount code ID does not exist.

## How to fix

Verify code ID or create the discount code first.

## Related API

See the [API Reference](/api) for the operation that returned this error.
