I think you have to use webContentLink instead of webViewLink.
webContentLink
webViewLink
Also, please ensure that you have already used the Google Drive “Get Share Link” module to make this file available publically.