How to resolve "Error:invalid_Client"?

Summary

An "invalid_client" error pops up when I trying to upload a file using Drive macro.


Environment

  • Confluence Server

Cause

If the above error appears it could be due to extra spaces or characters in the Client ID field.

Resolution

Go to your Google Drive Settings in Confluence.

  • Go to the Cog Icon  > Add-ons.
  • In the sidebar, under Google Drive Configuration, click Google Credentials.

And double-check Google credentials entered with the ones generated by: 

  1. Log in into the Google Developers Console.
  2. Going to the Hamburger Icon > API & Services > Credentials.