Skip to main content
Best answer

404 Error in API request in Google Drive


Hey Community,

I am trying to create an API request in Google Drive.
My aim is to share a folder with a specific user (email address).
I’ve added the details of my zap as a screenshot.

I’ve tested it with the Google Drive API Explorer and it worked.
However in Zapier I recieve a “404” error message:
“The requested URL <code>/drive/v3/files/1hSXk4ob467nHyz7c5W9ZxH3qy1pIgx6R-inJWUR7UkE</code> was not found on this server. That’s all we know.”

Can somebody help?
The folder id is correct, and as I said I tested this directly in the Drive Explorer where it worked.

 

Best answer by Troy TessaloneBest answer by Troy Tessalone

Hi @ZAPit 

Good question.

Try changing it to a POST request instead of a PUT.

Try changing it to Content-Type instead of content-type.

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.

2 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30925 replies
  • Answer
  • August 6, 2023

Hi @ZAPit 

Good question.

Try changing it to a POST request instead of a PUT.

Try changing it to Content-Type instead of content-type.


  • Author
  • Beginner
  • 3 replies
  • August 6, 2023

Hi @Troy Tessalone

Changing it to POST request solved it!

Thanks a lot!!