You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Developers
24 Topicsjava.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonToken.isStructStart()Z exception
Hi, I am developing a desktop application that will allow me to upload a file to my Db account, This is going to be executed on a VM. The problem is that even though it is working just fine on my computer, I am getting This strange exception when i run it on the VM. Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonToken.isStructStart()Z at com.dropbox.core.stone.StoneSerializer.skipValue(StoneSerializer.java:118) at com.dropbox.core.ApiErrorResponse$Serializer.deserialize(ApiErrorResponse.java:62) at com.dropbox.core.ApiErrorResponse$Serializer.deserialize(ApiErrorResponse.java:36) at com.dropbox.core.stone.StoneSerializer.deserialize(StoneSerializer.java:66) at com.dropbox.core.DbxWrappedException.fromResponse(DbxWrappedException.java:43) at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:106) at com.dropbox.core.v2.DbxRawClientV2.executeRetriable(DbxRawClientV2.java:256) at com.dropbox.core.v2.DbxRawClientV2.rpcStyle(DbxRawClientV2.java:97) at com.dropbox.core.v2.files.DbxUserFilesRequests.getMetadata(DbxUserFilesRequests.java:632) at com.dropbox.core.v2.files.DbxUserFilesRequests.getMetadata(DbxUserFilesRequests.java:663) at my.tools.dropbox.DropboxApi.exist(DropboxApi.java:292) ... 5 more The line that is causing this is Metadata a= client.files().getMetadata(path); Do you have any idea what might be the problem? I have been searching the internet with no luck!Solved28KViews0likes3Commentswhy using Intent.ACTION_OPEN_DOCUMENT does not list the Dropbox?
Tried on Android Os 4.4, and above, if using Intent.ACTION_GET_CONTENT the android's file picker listsGoogle drives, Google Photos, Dropbox, etc. If usingIntent.ACTION_OPEN_DOCUMENT, there just are no apps (like Dropbox, Photos etc.) in the file picker's drawer except onlyGoogle Drive. How to list the Dropbox in Android's file picker drawer if using Intent.ACTION_OPEN_DOCUMENT? code snippet of using ACTION_OPEN_DOCUMENT and ACTION_GET_CONTENT are listed below: Intent openIntent = new Intent(Intent.ACTION_GET_CONTENT); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { openIntent = new Intent(Intent.ACTION_OPEN_DOCUMENT); openIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); } openIntent.addCategory(Intent.CATEGORY_OPENABLE); openIntent.setType("*/*"); startActivityForResult(openIntent, ANDROID_FILE_PICKER); Intent openIntent = new Intent(Intent.ACTION_GET_CONTENT);openIntent.addCategory(Intent.CATEGORY_OPENABLE);openIntent.setType("*/*");startActivityForResult(openIntent, ANDROID_FILE_PICKER);17KViews1like15CommentsWelcome to the Dropbox Developer Community!
Welcome to the Dropbox Developer Community! This is aspacewhere you canget help, provide feedback, brainstorm ideas,make connections,and get inspired. The Dropbox team is here to help with questions, file bugs, and report your feedback.We also encourage all community membersto jump in and support eachother. Here are just some of the things you can do in theDropbox Developer Community forum: Get help Ask questionsabout specific issues or roadblocks Brainstorm how to use the Dropbox API to solve your technical and/or business needs Review tips, examples, and tutorials Help others Share your expertise, experiences, and insights to answer questions from other community members and participate in discussions Share examples, stories, and code samplesof the work you have done on the DBX Platform Influence DBX Platform Provide feedback and file feature requestswith the Dropbox team Alert us to potential bugs with our endpoints and SDKs Stay in the loop Get the latest announcements and updates from Dropbox Get invited to participate in feedback sessions, surveys, and developerevents Have fun Get to know the Dropbox team and other developers in the community Earnbadges,kudos, and levels Right now, we have two main categories withinthe DropboxDeveloper Community: API Support & Feedback Thispageis meant for gettingtechnical support from the Dropbox team and community about specific API issues, as well as providing product feedback and feature requests. The Dropbox team is here to help answer questions, file bugs, and report your feedback about the DBX Platform. If you think you know the answer to a question or have experienced something similar, please feel free to chime in. General Discussion The general discussion page covers everything else, from Dropbox announcements, to sharing code samples, to brainstorming your start up ideas. We encourage all community members to contribute content that will help other developers and engage in the conversations here. If you’re new to the communitystart hereto get an overview of how to post, reply, earn badges, and more. Please help us keep the Dropbox Developer Community respectful and helpful by abiding by ourCommunity Guidelines. Thank you forbeing a part ofthe Dropbox Developer Community! We’re looking forward to getting to know you. - The DBX Platform Team15KViews0likes0CommentsFeedback: The Embedder Launched in Preview
New feature alert! Dropbox is previewing a new pre-built component called the File and FolderEmbedder. Simply paste a JavaScript snippet into your code and you’ve added the ability to turn Dropbox shared links into interactive, embedded previews. It’s never been easier to provide your users with the ability to view and interact directly with their Dropbox files and folders. You can read more about the Embedder on our developer blog or the Embedder documentation. We want your feedback! While in the Preview phase, we’re actively adding enhancements, new controls, and new supported filetypes to the Embedder. What features would you like to see? How do your users interact with their Dropbox files from your app? Please post your thoughts or ideas about the Embedder below.Willing to give us more direct feedback? This April, we’re offering a chance to win a $200 Amazon gift card for folks that fill out this survey. Completing the survey counts as your entry into the sweepstakes*. Legal disclaimer: Navigating to the survey in this forum post will direct you to our Qualtrics survey website. All information you enter will be treated in accordance with the Dropbox Privacy Policy. Dropbox will never ask you for your password or billing information via invitations to surveys or in surveys themselves. *NO PURCHASE NECESSARY. VOID WHERE PROHIBITED BY LAW. Ends April 30, 2020 at 9:00pm Pacific Time. Must be 18+, have reached the age ofmajority in state of residence, and be a legal resident of the U.S. Sponsor: Dropbox, Inc. Odds of winning depend on the number of entries received. Click here for complete rules.14KViews12likes39Commentsmalformed_path issue?
Hi there, How do I resolve this?? Traceback (most recent call last): File "pi_surveillance.py", line 123, in <module> client.files_upload(open(t.path, "rb").read(), path) File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/dropbox/base.py", line 2293, in files_upload f, File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/dropbox/dropbox.py", line 296, in request user_message_locale) dropbox.exceptions.ApiError: ApiError('ec8156314fa260e143cde3a973d063a7', UploadError('path', UploadWriteFailed(reason=WriteError('malformed_path', None), upload_session_id='AAAAAAAAABYIi23EoDg86Q'))) I named my base path conf file as according to the answer in this theme: https://www.dropboxforum.com/t5/Discuss-Developer-API/Python-3-5-API-upload-error/m-p/317699#M345 my conf file: "dropbox_base_path": "/HomeSec", (I have a dropbox folder named HomeSec)Solved11KViews0likes3CommentsDeveloper console app
Hi Team, We are trying to provide dropbox support into our existing application which uses file-stack for uploading files. We followed this tutorialand created an APP from the developer console. Currently our app (dropbox developer console) indicates it is in development mode and supports maximum of 500 users although it freezes once it reaches a count of 50 as per documentation. From the same documentationhttps://www.dropbox.com/developers/reference/developer-guidewe also got to know that we need to proceed with "Apply for production" CTA in order to take our app to the production where any number of users can be connected to the app. We just wanted to understand if we want to "apply for production" where n number of users can connect to app, Are there any charges involved in this ? Awaiting your response Regards, Rohit Raut8.8KViews0likes1CommentHow to upload file via Curl with Binary object input?
Hello, good evening for all. I would like to know, how I can to upload file using a Curl request, or PHP Curl request, with the upload file request. But instead I use the parameter o filepath, I use the binary object inside body request, for example, some 010101101011010101010 binary code inside request instead of "/folder/filename.extension" . Because I am building a system client-server that a user can upload a file, sending by Post request to server, and the server must to take this file via $_ENV[] and insert it into a request to upload to Dropbox. And doesnt a way to server save temporary file inside your filesystem because the your provider is ephemeral, and so, because it i have to insert the file binary data inside request. I will be grateful.5.2KViews0likes4CommentsHow to delete all files in a folder by API
Hi API Team, I am using dropbox folders temporarily to upload videos to youtube. I need to clean/delete files from Dropbox files after I upload them to youtube since I don't need them anymore and to free up space in Dropbox. 1. Do you have a setting where we can set time to delete files? ex: every day, every Monday at 23:59 2. Do you have a cron job/automation/bot/software that will clean folders for example at 23:59 every day? I am able to delete individual files and folders as follows (API Doc): curl -X POST https://api.dropboxapi.com/2/files/permanently_delete \ --header "Authorization: Bearer " \ --header "Content-Type: application/json" \ --data "{\"path\": \"/Homework/math/Prime_Numbers.txt\"}" How to delete all files in a folder with out deleting the folder? Something like *.* for all files: { "path": "/uploads/*.*" } I could not interpret the path pattern -pathString(pattern="(/(.|[\r\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)") Can you please guide me to delete all files in a folder ? Thanks!Solved4.8KViews0likes6Comments