Search code examples
google-drive-apigoogle-api-console

Google API Console showing "An unexpected error has occurred." after trying to set the "Open URL" to localhost


I was trying to debug my application using the Drive integration feature by setting the Open URL to http://localhost/open which is apparently not permitted.

After a message popped up mentioning that it's not permitted I canceled my changes and exited the page.

After that whenever I access the Google API console and try to select Drive SDK I get a message saying "An unexpected error has occurred. We're looking into it.".

Is there a way to fix this or do I have to contact Google to get it fixed?


Solution

  • Top-level domains such as localhost are not allowed within the "Open with" context. Use a test domain for testing purposes.