Forum Discussion

sagar_lonkar's avatar
sagar_lonkar
Explorer | Level 4
10 months ago

Getting error DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:387)

I am getting following error too frequently while using Dropbox Java SDK
Please suggest solution for this

 

com.dropbox.core.RateLimitException: null at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:387) at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:154) 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.files.DbxUserFilesRequests.listFolderContinue(DbxUserFilesRequests.java:2353) at com.dropbox.core.v2.files.DbxUserFilesRequests.listFolderContinue(DbxUserFilesRequests.java:2382)

  • The Dropbox API does have a general rate limiting system that applies to all account types, but we don't have specific rate numbers documented for that, and we cannot increase the limits for any particular app, user, or team. Apps should be written to handle these rate limit responses automatically. In any case that you get a rate limit error like this, the best practice is to retry the request, respecting the getBackoffMillis value if given, or using an exponential back-off, if not. I recommend referring to the error documentation and Error Handling Guide for more information.