TranscriptFailed

{
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "enum": [
        "failed"
      ]
    },
    "quality": {
      "type": "string",
      "enum": [
        "premium"
      ]
    },
    "video_id": {
      "type": "string"
    },
    "job": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TranscriptionJob"
        },
        {
          "description": "The last Premium transcript job for this video. Its state is failed or refunded, or its status is refund_pending while the refund settles."
        }
      ]
    },
    "last_attempt": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "failed",
            "refund_pending",
            "refunded"
          ],
          "description": "How the last job ended: failed, refunded (the charge was returned), or refund_pending (the refund is still settling)."
        },
        "error": {
          "type": "string",
          "description": "Why it failed."
        }
      },
      "required": [
        "status",
        "error"
      ],
      "description": "The failed job in brief, as job.status and job.error."
    },
    "note": {
      "type": "string",
      "description": "The next step. Read again with retry=true to start a new Premium transcript, or wait while the refund settles."
    }
  },
  "required": [
    "state",
    "quality",
    "video_id",
    "job",
    "last_attempt",
    "note"
  ]
}