---
title: "Retry conversion for a failed slot (MED-784 AC11)"
method: POST
path: "/cohorts/{cohortId}/sessions/{sessionId}/content/{slot}/retry"
tags: ["Session Content"]
---

# Retry conversion for a failed slot (MED-784 AC11)

`POST /cohorts/{cohortId}/sessions/{sessionId}/content/{slot}/retry`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/sessions/{sessionId}/content/{slot}/retry`
- Auth: none declared

Re-enqueues the conversion job for the active row whose previous
conversion failed. Resets processing_state from `failed` → `pending`
and clears error_message. Only valid when the active row is in the
`failed` state.

## Path parameters

- `cohortId` string, uuid, required
- `sessionId` string, uuid, required
- `slot` SessionContentSlot, required (unresolved $ref)

## Response `200`

Retry accepted; conversion re-queued.

- object
  - `success` boolean
  - `data` object
    - `file` SessionContentFile (unresolved $ref)

## Other responses

- `400`: Active row is not in `failed` state, or queue publish failed.
- `401`: Unauthorized
- `404`: Session not found, or no active file in this slot.

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
