Invalid mime type error message while uploading .docx file

I face a problem while uploading a ".docx" file , got "invalid mime type" error message , and the error was fixed by adding this "'application/vnd.openxmlformats-officedocument.wordprocessingml.document" extension to the available sonata extensions .