You are attempting to attach too many files at once

When I try to add multiple attachments to my email I get the following message;

“You are attempting to attach too many files at once. Try reducing the number of files being attached.”

The total size of my attachments is well below the sending limit and I’m not aware of any limit to the amount of attachments that I may send out.

Why am I still getting this error upon attaching files?