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

# cost_changed

> Cost changed: HTTP 409 from the Rask API v3. What it means, what to do and which operations return it.

| Status | `retry` | `recommendation` |
| - | - | - |
| 409 | `none` | `fix_request` |

## What happened

Cost changed. For example: The current price is higher than expected\_cost\_minutes; nothing was charged.

## What to do

Call the estimate operation again and resend with its total\_minutes as expected\_cost\_minutes.

`fix_request`: change the request or its inputs; sent unchanged it fails again.

`none`: do not retry the request unchanged.

## Example

```json theme={null}
{
  "type": "https://docs.api.rask.ai/errors/cost_changed",
  "title": "Cost changed",
  "status": 409,
  "detail": "The current price is higher than expected_cost_minutes; nothing was charged.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "cost_changed",
  "retryable": false,
  "retry": "none",
  "recommendation": "fix_request",
  "hint": "Call the estimate operation again and resend with its total_minutes as expected_cost_minutes.",
  "errors": [],
  "expected_cost_minutes": 1,
  "current_cost_minutes": 2
}
```

## Inside a job

It also appears inside a job, as `Job.error` or `Job.stages[].error`, on jobs of type `localization`.

| Status | `retry` | `recommendation` |
| - | - | - |
| 409 | `new_key` | `fix_request` |

Call estimateLocalization with resume\_job\_id, then resumeJob with its total\_minutes.

## Operations that return it

* [createDub](https://docs.api.rask.ai/operations/createDub.md)
* [createLipsync](https://docs.api.rask.ai/operations/createLipsync.md)
* [createLocalization](https://docs.api.rask.ai/operations/createLocalization.md)
* [createOnscreen](https://docs.api.rask.ai/operations/createOnscreen.md)
* [createProject](https://docs.api.rask.ai/operations/createProject.md)
* [createProjectCopies](https://docs.api.rask.ai/operations/createProjectCopies.md)
* [generateSegments](https://docs.api.rask.ai/operations/generateSegments.md)
* [resumeJob](https://docs.api.rask.ai/operations/resumeJob.md)


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