Skip to main content
Best answer

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


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. 

 

 

Best answer by ed_li

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

Thanks anyway.

 

View original
Did this topic help you find an answer to your question?
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

Troy Tessalone
Forum|alt.badge.img+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

 


  • Author
  • Beginner
  • 8 replies
  • November 23, 2023

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.


  • Author
  • Beginner
  • 8 replies
  • Answer
  • November 23, 2023

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

Thanks anyway.