We are observing that the Azure Media Services Encoding job randomly fails with the following error;
[06/26/2020 11:25:40 > 89e0c8: INFO] RunMainJobError1 : Operation returned an invalid status code 'BadRequest'
11:25:39 > 89e0c8: INFO] CreateOutputAssetAsync jobInput : Microsoft.Azure.Management.Media.Models.JobInputAsset
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?