Android Question DROPBOX: This app is not valid

rafaelmotaquintana

Active Member
Licensed User
Im trying to test the attached project, listed here
https://www.b4x.com/android/forum/threads/dropbox-sdk-v2-java.74019/

Program opens the browser, but I get the following error from dropbox:

It seems the app you're using submitted a bad request. if you'd like to report this error to the app's developer, include the information below

this app is not valid.

I have not modified anything in project
B4A Ver. 8.00
 

Attachments

  • DropboxV2Example1-Auth.zip
    10.7 KB · Views: 130

rafaelmotaquintana

Active Member
Licensed User
I have this weird situation. I have a dropbox ID, lets say 'eqdjvoq2nyvm123', everything was working fine.
Suddenly, I am beginning to get this message when program request permission to dropbox before opening browser

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
at android.view.ViewRootImpl.setView(ViewRootImpl.java:853)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:337)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
.
.
.

This happens even with the sample project posted above. But if I change the ID, lets say, a letter, the app open the browser normally and says that the App ID was not found.
I can't image whats happening.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I have this weird situation
Which you should post in a new thread. The question from #1 is answered (by you) and fixed.

Make sure to have ALL occurences of
B4X:
config.Initialize("",token,"","de-de",5)
adapted. The "" should contain you ClientIdentifier.
There are two. One in Activity create and one in activity resume. Update them all.

PS: You don´t need UPPPERCASE in the Threadtitle. The Productname is Dropbox
 
Last edited:
Upvote 0
Top