retry_video_preparation

Retry video preparation

Reset failed pending LinkedIn video deliveries and enqueue preparation again.

Authorization and permissions

Requires a valid delegated OAuth token and access to the selected workspace.

OAuth scope
mcp:publish
Workspace requirement
Authorized workspace and current membership required

Current member with publishing access, active non-missed schedule, valid approval, and valid media.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "expected_version": {
      "description": "Last-read post concurrency version.",
      "minimum": 1,
      "type": "integer"
    },
    "post_id": {
      "description": "Public post sqid.",
      "maxLength": 32,
      "minLength": 1,
      "type": "string"
    },
    "team_id": {
      "description": "Consented workspace ID.",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "team_id",
    "post_id",
    "expected_version"
  ],
  "type": "object"
}

Result schema

{
  "additionalProperties": false,
  "properties": {
    "media_state": {
      "description": "Media state.",
      "enum": [
        "preparing",
        "unchanged"
      ]
    },
    "post_id": {
      "description": "Public post sqid.",
      "maxLength": 32,
      "minLength": 1,
      "type": "string"
    },
    "retry_count": {
      "description": "Retry count.",
      "minimum": 0,
      "type": "integer"
    },
    "version": {
      "description": "Version.",
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "post_id",
    "retry_count",
    "media_state",
    "version"
  ],
  "type": "object"
}

Example arguments

{
  "expected_version": 3,
  "post_id": "Ab3dE9xQ",
  "team_id": 1
}

Example result

{
  "media_state": "preparing",
  "post_id": "Ab3dE9xQ",
  "retry_count": 1,
  "version": 3
}

Errors and retry

Stale versions, active publication, invalid media, missing approval, inactive schedule, or missing publishing access fail without resetting deliveries.

Read the post again before retrying. A successful call with zero retries means no failed eligible LinkedIn delivery existed.

Effects, limits, and source

Workspace roles, subscription and AI usage limits, approval rules, and server rate limits are enforced at call time. Rate-limit responses identify when to retry; scheduled work returns state rather than holding the request open.

services.video_retry.retry_video_preparation

Message on LinkedIn