Skip to content

MediaConvert returns duplicate error

0

We started receiving this error since last Friday

An error occurred (BadRequestException) when calling the CreateJob operation: You submitted a duplicate job that has identical settings as the job '1726592970686-5nitkz' you submitted previously. To help prevent unnecessary charges, MediaConvert did not create your duplicate job. To resolve: Edit any of your job settings. Then resubmit your job.

The destination in output group is always different so the setting scant be the same.

What could cause this error ?

asked a year ago726 views
2 Answers
0

This error is returned when you have submitted the same exact input file with the same settings 10 times within 30 seconds.

Furthermore, to explicitly opt-out of duplicate job detection, include the user metadata DisableDuplicateJobRejection in your job settings as shown below:

{
  "UserMetadata": {
    "DisableDuplicateJobRejection": "{ANY_VALUE}"
  },
  "Settings": {
    ...
  }
}

By adding any string will automatically disable duplicate job rejection. For example:

"DisableDuplicateJobRejection": "false" or "DisableDuplicateJobRejection": "true" or "DisableDuplicateJobRejection": "notarealword"

AWS
answered a year ago
0

I'm getting same error;

Input and destination are different but the file is the same (same checksum). In lambda funcion that calls mediaconvert I added to my settings json the following properties:

params.Settings.Inputs[0].FileInput = fileInput;
params.Settings.OutputGroups[0].OutputGroupSettings.FileGroupSettings.Destination = `s3://id.${ENVIRONMENT}.${COUNTRY}.video/${srcKeyDirectory}/`;
params.UserMetadata.multimediaid = s3ObjectMetadata.multimediaid;

In my settings json I added this:

"UserMetadata": {
      "DisableDuplicateJobRejection": "yes",
      "application": "VideoProcessor"
}

But I still obtain "You submitted a duplicate job that has identical settings as the job 'x' you submitted previously. To help prevent unnecessary charges, MediaConvert did not create your duplicate job. To resolve: Edit any of your job settings. Then resubmit your job"

Any ideas? Thx in advance

answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.