question

amsDeveloper-1720 avatar image
1 Vote"
amsDeveloper-1720 asked Grmacjon-MSFT commented

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

Hello,

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
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Please open a support ticket with the details of your Media Service account, region used, and the specific Job names or IDs. Our on-call team will need to look into the logs for the specific failures in order to diagnose the problem. Thanks.

0 Votes 0 ·

Hi @amsDeveloper-1720,

As Anil mentioned, you will need to open a support ticket so we can investigate this issue further. Do you have the ability to open a support ticket?

0 Votes 0 ·

We don't have support plan for our account.

0 Votes 0 ·

Please send an email to AzCommunity[at]microsoft[dot]com with the subject "ATTN Grace" including your subscription id, Media Service account, region used, and the specific Job names or IDs so we can investigate this issue further by enabling free one-time support ticket for you.

Thanks,
Grace

0 Votes 0 ·

0 Answers