What happened
The download from your link started but did not finish, so the job was marked failed and nothing was transcribed. This is on the job, not on the request: the request itself was accepted.
Why it happens
- Our API reference documents the code
DOWNLOAD_FAILEDas "the download started but was interrupted", for jobs started from a link. - The case you are most likely to see today is a post from a social site whose download links expired before we could use them. We then looked the post up again, and that did not give working links either. The message says so, and says to send the link again.
- A download can also be cut off when the connection drops part of the way. Those jobs are reported as "could not be reached or the connection was interrupted".
What to do
- Send the same link again in a minute or two, as a new request. A fresh request gets fresh download links, so this often works.
- If it fails again, download the video yourself and upload it with
POST /v1/upload, then send itsupload_idtoPOST /v1/transcribe. This always works.
Were you charged?
No. With the API, a failed job is not charged.
Still stuck?
Email support@scriptivox.com with:
- the email address of your Scriptivox account
- the
idof the job - the link you sent
- when it happened, with your time zone
- the exact message you saw
For developers
This is a later failure, never an answer to POST /v1/transcribe: GET /v1/transcribe/{id} answers 200 with status: "failed" and an error object, and the transcription.failed webhook carries the same error. The code DOWNLOAD_FAILED is documented for "the download started but was interrupted". Jobs we have seen end this way carry URL_NOT_ACCESSIBLE with a sentence that says what happened, so read the message as well as the code. Sending the same link again, as a new request, can work. Where it keeps failing, upload the file.
{
"id": "8f3c2a10-…",
"status": "failed",
"progress": "Transcription failed.",
"error": {
"code": "URL_NOT_ACCESSIBLE",
"message": "The download links Instagram gave for this post expired before the download started, and checking the link again did not give working ones. Submit the link again, or download the video and upload it with POST /v1/upload.",
"docs_url": "https://www.scriptivox.com/errors/link-download-interrupted",
"help_id": "link-download-interrupted"
}
}