Error : ConnectionResult{statusCode=INTERNAL_ERROR, resolution=null} Error : ConnectionResult{statusCode=INTERNAL_ERROR, resolution=null} android android

Error : ConnectionResult{statusCode=INTERNAL_ERROR, resolution=null}


Heads up! There's a problem in the Developers Console.

If you are getting this bug even after 1) making sure that you have registered the package name with its corresponding certificate fingerprint, and 2) are (re)using an already existing project, then you should check that this project has an product name and an email address (double check that one specially) associated with it, both to be found in the "consent screen" section.

Very old projects may not have these two fields populated. Newer projects have these fields filled out with some default values.

Took me a day to find this...

enter image description here


I resolve this issue by signing my Google Drive application on API console following these steps

  1. Go to the Google Developers Console.
  2. Select a project, or create a new one.
  3. In the sidebar on the left, expand APIs & auth. Next, click APIs.
  4. In the list of APIs, make sure the status is ON for the Drive API.
  5. In the sidebar on the left, select Credentials.

If your application needs to submit authorized requests:

  1. Under OAuth, click Create new Client ID.
  2. Select Installed application and Android.
  3. In the Package name field, enter your Android app's package name.
  4. Paste the SHA1 fingerprint into the form where requested.
  5. Click Create Client ID.


I solved the issue from register the application and generate signing certificate fingerprint.

https://developers.google.com/drive/android/auth#generate_the_signing_certificate_fingerprint_and_register_your_application

I followed above links and It solved my problem.