---
title: "How to resolve \"Error:invalid_Client\"?"
canonical: "https://support.appfire.com/space/CFGDCS/470286749/How%20to%20resolve%20%22Error%3Ainvalid_Client%22%3F"
format: markdown
---
> Macro (aura-html)

## Summary

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

![image](media://44fd4e24-a4a4-46c1-b44d-009cbe50ff3e)

## Environment

- Confluence DC

## Diagnostics Steps

Not applicable

## Cause

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

## Workaround

Not applicable

## 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](https://console.developers.google.com/home).
2. Going to the **Hamburger Icon > API & Services > Credentials**.