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

# optimize_run_applying

> Run still applying. HTTP 409, retryable.

**HTTP 409: Run still applying.** Retry the request: wait for `Retry-After` when the response has one. Errors never cost API credits.

**What to do:** Its writes are still in flight. Retry once it has finished (`GET /v1/workspace/ads/optimize/runs/{id}`).

```json Response theme={null}
{
  "type": "https://docs.alura.io/errors/optimize_run_applying",
  "title": "Run still applying",
  "status": 409,
  "code": "optimize_run_applying",
  "detail": "Run still applying",
  "suggestion": "Its writes are still in flight. Retry once it has finished (`GET /v1/workspace/ads/optimize/runs/{id}`).",
  "retryable": true,
  "request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
```

The response is `application/problem+json` (RFC 9457) and has a `Request-Id` header with the same `request_id`. See [all errors](https://docs.alura.io/api-reference/errors.md).


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