Cannot print / download PDF’s from Xero.com

bug
#1

Description

When using Brave browser with Xero.com accounts I am unable to download PDF copies of invoices.

Clicking the “Print PDF” button within an invoice opens a new window displaying an error:

PDF.js v2.0.673 (build: 31012570)
“Unexpected server response (500) while retrieving PDF “https://go.xero.com/AccountsReceivable/InvoiceDownloader.aspx?PrintJobId=2925177”.”

This seems to be similar to a previously closed Bug:
#problems-printing-downloading-pdfs-from-xero-com/37019

Steps to Reproduce

  1. Open invoice within Xero.com
  2. Click Print PDF

Actual result:
Error in PDF Viewer stating “Unexpected server response (500)”

More Information states:

“PDF.js v2.0.673 (build: 31012570)
Message: Unexpected server response (500) while retrieving PDF “https://go.xero.com/AccountsReceivable/InvoiceDownloader.aspx?PrintJobId=2925177”.

Expected result:
A PDF copy of the invoice should be downloaded.

Reproduces how often:
100%

Brave Version

about:brave info:
Brave is up to date
Version 0.59.35 Chromium: 72.0.3626.81 (Official Build) (64-bit)

Reproducible on current live release:
Yes

Reproducible on current BETA release:
Yes - Version 0.60.23 Chromium: 72.0.3626.96 (Official Build) beta (64-bit)

Reproducible on CHROME:
No

Additional Information

Originally reported with a different error message “Invalid or corrupted PDF” as:

#2

@dknewton I have verified 0.59.35, 0.60.23 and 0.60.34- In all these versions PDF works fine. I have downloaded PDF from the link https://spark.att.com/5g-white-papers

Also, i tried downloading invoice PDF’s from banking website, able to download and view PDF’s without any issues.

Please download latest version and try again, revert back if you see the same issue.

Thanks!

#3

Hi - thanks for testing.

I can download the PDF from the link you have provided no problem.

But the problem persists inside the Xero.com application, with the same error.

I’ve updated to:
Version 0.60.45 Chromium: 72.0.3626.109 (Official Build) (64-bit)

Message: Unexpected server response (500) while retrieving PDF

When I tried from a banking site (anz.com) the error code was “Invalid PDF structure” instead.

I’m assuming it as something to do with the credentials behind a secure site.

closed #4

This topic was automatically closed after 30 days. New replies are no longer allowed.