This is a known issue with Firefox.
The easiest way to resolve this is by using a different browser.
You can also use these instructions to continue with Firefox: https://support.mozilla.org/en-US/kb/pdf-files-are-blank-or-cause-error-message-mac?redirectlocale=en-US&redirectslug=pdf-files-are-blank-and-cant-be-downloaded-mac