Hi,
I created a trial account with the Business Advance Account; this account was used to test the features of Dropbox for my team. I created an app and wrote a test program to collect user’s information and monitor the event log using the Dropbox API Java SDK. The test program worked fine. When my trial ended, my company bought the Business Advance Account license for me and some others of my team. I created a Refresh token with information from App Key and App Secret as before. However, when I tried my test program to get the event log, I got the following errors:
com.dropbox.core.BadResponseException: Bad JSON: expected object value.
at [Source: (sun.net.www.protocol.http.HttpURLConnection$HttpInputStream); line: 1, column: 47112]
at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:158)
at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:330)
at com.dropbox.core.v2.DbxRawClientV2.executeRetriableWithRefresh(DbxRawClientV2.java:351)
at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:137)
at com.dropbox.core.v2.teamlog.DbxTeamTeamLogRequests.getEvents(DbxTeamTeamLogRequests.java:47)
at com.dropbox.core.v2.teamlog.DbxTeamTeamLogRequests.getEvents(DbxTeamTeamLogRequests.java:84)
I did not make any changes to my test program, just use it with the new refresh key; the new refresh key has a same scopes as the previous refresh key. So anybody having the same problem? Do you guys have any suggestions to fix it?
Thank you.