djcaliOriginal post
Rank 3: Container
Hello,
I am trying to upload a docx file to storage, but the mime type is too long. I get the following error: 'Invalid document structure: Attribute "mimeType" has invalid type. Value must be a valid string and no longer than 50 chars' The mime type for docx i am pretty sure is application/vnd.openxmlformats-officedocument.wordprocessingml.document which is longer than 50 chars. Is it possible to upload a docx file?
Summary
Developers are experiencing issues uploading docx files due to the mime type being too long. The mime type for docx files exceeds the 50 character limit allowed. Consider using a shorter mime type or customizing the validation to allow longer mime types if possible.