We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the online documentation, it says the max length is 260 but I get an error saying the max length is 248. Online doc : https://docs.microsoft.com/en-us/azure/media-services/media-services-dotnet-upload-files
Call : IAssetFile assetFile = await asset.AssetFiles.CreateAsync(resource.Name, CancellationToken.None);
Exception : "An error occurred while processing this request."
InnerException : "<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"><m:code /><m:message xml:lang="en-US">AssetFile.Name length cannot exceed 248 characters</m:message></m:error>"
The text was updated successfully, but these errors were encountered:
It turns out the max length is indeed 260 but it's not the 'file name' that's 260 but the full path + filename Ex : C:\user\filename.jpg
I think the online documention needs to make this clear.
Sorry, something went wrong.
No branches or pull requests
In the online documentation, it says the max length is 260 but I get an error saying the max length is 248.
Online doc : https://docs.microsoft.com/en-us/azure/media-services/media-services-dotnet-upload-files
Call : IAssetFile assetFile = await asset.AssetFiles.CreateAsync(resource.Name, CancellationToken.None);
Exception : "An error occurred while processing this request."
InnerException : "<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"><m:code /><m:message xml:lang="en-US">AssetFile.Name length cannot exceed 248 characters</m:message></m:error>"
The text was updated successfully, but these errors were encountered: