Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can try adding "https://www.googleapis.com" to the list of allowed referrers for the API key. This should limit the use of the API key to requests coming from the Google Drive API. To do this, go to the Google Cloud Console, select your project and then navigate to the Credentials page for your API key. Under the section "Application restrictions," select "HTTP referrers" and add "https://www.googleapis.com" to the list of allowed referrers. Save the changes and try using the API key again.