Azure Media Services : Encoding Fails with 'Bad Request' Error

amsDeveloper 71 Reputation points


We are observing that the Azure Media Services Encoding job randomly fails with the following error;

11:25:39 > 89e0c8: INFO] CreateOutputAssetAsync jobInput : Microsoft.Azure.Management.Media.Models.JobInputAsset

[06/26/2020 11:25:40 > 89e0c8: INFO] RunMainJobError1 : Operation returned an invalid status code 'BadRequest'
89e0c8: ERR ] Operation returned an invalid status code 'BadRequest'
[06/26/2020 11:25:40 > 89e0c8: ERR ] ERROR: API call failed with error code 'BadRequest' and message 'The storage container is used by another asset already, please specify another value.'.
[06/26/2020 11:25:40 > 89e0c8: INFO] InnerError:One or more errors occurred.,Operation returned an invalid status code 'BadRequest'

Although, the new asset does get created with the same name with newly encoded files like ".mp4, .mpi, .ism, .ismc, _metadata.json, _manifest.json" etc.

The problem is not surely with the file, because if executed again, it mostly ends successfully.

Any reason why it gives such random errors? How to fix or troubleshoot this?

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
314 questions
{count} vote