Best answer

Unable to Upload PDF from Google Drive to WordPress: Invalid URL'

  • 22 November 2023
  • 3 replies
  • 51 views

Userlevel 1

Hi

I’m trying to upload a PDF file in Google Drive to WordPress. I was wondering which value I should use for the WordPress Upload Media file field.

There are many links returned from the Google Drive Find a File step. I’ve tried download URL but I’ve got the error as below. I’ve also tried some other links but none of them can upload successfully. 

 

 

icon

Best answer by ed_li 23 November 2023, 11:25

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @ed_li 

Good question.

The error seems to indicate the issue is with the connected WordPress account.

https://zapier.com/apps/wordpress/help

 

Userlevel 1

Hi @Troy Tessalone 

Thanks for your reply. 

In fact, I can upload a file to WordPress with the ID or Web Content Link. However, when I opened the file, error showed as below:

 

While setting up the connection, no fields for me to enter a API Key. The connection is set successfully. 

 

By the way, can anyone tell me which item from Google Drive I have to use for the ‘File’ field?  Is it correct to use the ‘Download Url’?

 

Thanks in advance.

Userlevel 1

Problem solved. I should simply use the ‘File’ item. 

Thanks anyway.