Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Raymond Y.2
10 years agoNew member | Level 1
unknown tag 'xs' Error in API function call - Java SDK GetThumbnailBuilder
I'm recieving an error with the following message whenever I try to build a thumbnail:
com.dropbox.core.DbxException$BadRequest: Error in call to API function "files/get_thumbnail": HTTP header "Dropbox-API-Arg": size: unknown tag 'xs'
This error occurs after running this line of code.
dropBoxClient.files.getThumbnailBuilder(meta.pathLower).format(Files.ThumbnailFormat.png).size(Files.ThumbnailSize.xs).start();
dropBoxClient:
DbxRequestConfig requestConfig = new DbxRequestConfig("examples-account-info", userLocale);
DbxClientV2 dropBoxClient = new DbxClientV2(requestConfig, AUTHKEY)3 Replies
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
Thanks! This is a known issue that should be resolved in the next version of the SDK.
Specifically, the SDK will be updated so that the value used for Files.ThumbnailSize.xs is instead 'w32h32'.
- Raymond Y.210 years agoNew member | Level 1
:) Great job, I'll be waiting for that to roll out!
- Greg-DB10 years ago
Dropbox Community Moderator
This should be fixed in the latest version of the SDK. Let us know if you're still having any trouble.
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!