Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Jose L.8
5 years agoExplorer | Level 3
BadResponseException: Bad JSON: again
Platform: Java SDK/library: dropbox-sdk-java 4.0.1 (latest)
We are getting errors parsing team log contents again.
Related ticket: https://www.dropbox.com/support/ticket/1400774...
Jose L.8
4 years agoExplorer | Level 3
Hi,
opening this again as error is back.
Library is updated to v 5.0.0
Caused by: com.dropbox.core.BadResponseException: Bad JSON: expected object value. at [Source: (ByteArrayInputStream); line: 1, column: 360868] 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.getEventsContinue(DbxTeamTeamLogRequests.java:121)
Some request ids to look further into:
162d6ee34b2640d59343e189900cf775
1b20d77ecb054906b5528c50c14efd26
a13763fe82c249c8ac7338829fd7cf40
4bdf227c47fc4b1ba4440b2c2aecc317
Also can you confirm that 5.0.0 is last version to support Java 8? If so, these changes should go to a 5.0.x
Greg-DB
Dropbox Community Moderator
4 years agoThanks for the report. I'll raise this with the team again.
And yes, v5.0.0 was the last version before v5.1.0, where Java source and target compatibility was bumped to 11. The team applies updates to the SDK to the most recent version, but I'll pass this along as a request for support on older versions as well. I can't make any promises regarding that myself though.
- Greg-DB4 years ago
Dropbox Community Moderator
This issue is fixed in the latest version of the Java SDK, which is currently v5.3.0.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!