These are the default and I think the problem may be that you have set up doc docx and pdf as image file types and inline_file_types, so the failure is pobably due to the backend trying to create image thumbnails for non image files.
accept_file_types=”jpg|jpeg|mpg|mp3|png|gif|wav|ogg|doc|pdf|docx”
this is ok, and means that doc pdf and docx are acceptable by default and you will not need to add them as attributes in your shortcode.
Alternatively you could take them out of here and put them in the shortcode when required like in the one you posted here. (this is the preferred way as it is then clear at the point of usage).
These two should be put back to their defaults without the |doc|pdf|docx
These are most likely causing your issue.
inline_file_types=”jpg|jpeg|mpg|mp3|png|gif|wav|ogg|doc|pdf|docx” image_file_types=”gif|jpg|jpeg|png|doc|pdf|docx”
Let me know if that works.