-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
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
AssetFile.Name max length is wrong #193
Comments
It turns out the max length is indeed 260 but it's not the 'file name' that's 260 but the full path + filename I think the online documention needs to make this clear. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: