Google Drive/Google Cloud support

Which product are you using?

Pdfjs Express
PDF.js Express Version

Detailed description of issue
Unable to support google drive/google cloud generated links

Expected behaviour
{Provide a screenshot or description of the expected behaviour}

Does your issue happen with every document, or just one?

Link to document
{Provide a link to the document in question if possible}

Code snippet
{Provide a relevant code snippet}

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hello karin,

Please see these links

You might need to pass an additional auth-token in the load document

Alternatively you might need to call the Google Drive API to get the file directly:

There is an example in there of how to make a GET call to get the file’s contents; you will need to pass certain headers for auth, as well as include your API Key in the URL.

curl \
  '[FILEID]?key=[YOUR_API_KEY]' \
  --header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
  --header 'Accept: application/json' \

Best regards,
Tyler Gordon
Web Development Support Engineer

1 Like