What does the Google Drive/Cloud error “invalid_client : no application name” mean?

If you see this error when you are authenticating with Google, then it means that when you created your Google API project, you omitted to give it a name.

Google didn’t use to mind about this. But since at least April 2014, they do.

To solve it, log in to your Google API console, and edit your API application there, and give it both a name and an email address in the “Consent Screen” settings (APIs & auth -> Consent Screen). These are not used for anything other than showing you them back when you authorize.

For screenshots, see the step “Set up a product name and email address” of the Google Drive setup instructions (or for Google Cloud Storage, these setup instructions).

Posted in: Google Drive