We are getting a syntax error when trying to download PDF files from email notification link.