You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

UnbarredStream's avatar
UnbarredStream
Explorer | Level 3
6 years ago

Bad configurated app error using Android SDK

My app was working fine for the last 6 months or so, but just now my users are receiving the "This app wasn't configures correctly", the dropbox api was changed o it's down?

  • Greg-DB's avatar
    Greg-DB
    6 years ago

    Thanks! That's helpful. Did you make any changes to your app's configuration on the App Console recently, perhaps accidentally?

    Specifically, please check that your have "Allow implicit grant" set to "Allow" on the app's page on the App Console, since you do need that for the app authorization flow used by the Java SDK. If it's set to "Disallow", switch it to "Allow" and try again, and let me know if that doesn't help.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:

    • the full and exact text of the error/any unexpected output; a screenshot is ok if that's easier
    • the steps to reproduce the proble, including the relevant code snippet(s) that are failing
    • UnbarredStream's avatar
      UnbarredStream
      Explorer | Level 3

      Dropbox activity
      Dropbox Activity error

      Browser error
      Browser error
      My app was working fine for the las couple of months, and its easy to implement Dropbox in Android so i dont understand why the error

      For start login:

      Auth.startOAuth2Authentication(context, <App key>)


      and in manifest:

      <activity
                  android:name="com.dropbox.core.android.AuthActivity"
                  android:configChanges="orientation|keyboard"
                  android:launchMode="singleTask">
                  <intent-filter>
                      <data android:scheme="db-<App key>"/>
      
                      <action android:name="android.intent.action.VIEW"/>
      
                      <category android:name="android.intent.category.BROWSABLE"/>
                      <category android:name="android.intent.category.DEFAULT"/>
                  </intent-filter>
      </activity>

       

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Thanks! That's helpful. Did you make any changes to your app's configuration on the App Console recently, perhaps accidentally?

        Specifically, please check that your have "Allow implicit grant" set to "Allow" on the app's page on the App Console, since you do need that for the app authorization flow used by the Java SDK. If it's set to "Disallow", switch it to "Allow" and try again, and let me know if that doesn't help.