Best answer

404 Error in API request in Google Drive

  • 6 August 2023
  • 2 replies
  • 55 views

Userlevel 1

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.

 

icon

Best answer by Troy Tessalone 6 August 2023, 17:30

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.

2 replies

Userlevel 7
Badge +14

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.

Userlevel 1

Hi @Troy Tessalone

Changing it to POST request solved it!

Thanks a lot!!