Google Drive Integration error


When i will trying to add google drive credential i will give error please check that url

Did you add the redirect URI into the google project?
Is the redirect URI correct?

yes it’s correct

Since it’s a Google Drive credential/OAuth setup, this is almost always one of these (in order of likelihood):slight_smile:

  1. Redirect URI mismatch — the URI n8n shows you on the credential screen (ends in /rest/oauth2-credential/callback) has to be pasted EXACTLY into Authorised redirect URIs in your Google Cloud OAuth client. Even a trailing slash or http vs https mismatch will break it.
    1. Google Drive API not enabled on the project — go to Google Cloud Console > APIs & Services > Library, search “Google Drive API,” and make sure it’s enabled for the same project your OAuth client belongs to.
      1. OAuth consent screen still in “Testing” mode without your account added as a test user — if the app isn’t published/verified, only emails explicitly added under “Test users” can authenticate.
        1. Wrong Client ID/Secret pasted, or copied with extra whitespace.
      2. Can you paste the actual error text (not just the screenshot) so we can narrow it down? “redirect_uri_mismatch” and “Error 400: invalid_client” need different fixes.