-
[Java SDK v2] migration: error handling with HTTP codes
I'm migrating to the v2 Java SDK on Android, from the old Android SDK. I'm struggling to convert some error-handling code. This is a high-level error handler which could be handling an exception from any one of a number of Dropbox API methods. Here's how it used to look:…
-
Getting javax.net.ssl.SSLHandshakeException: Handshake failed exception while calling download image
Getting javax.net.ssl.SSLHandshakeException: Handshake failed exception while calling download image api. Sometimes images are downloaded and sometimes it fail with handshake exception. DbxRequestConfig requestConfig = DbxRequestConfig.newBuilder("test-v1") .withHttpRequestor(new…
-
SDK not compatible with Unity3D (.Net 2.0 mono)
Hi. I'm working on integrating dropbox support in my Unity3D app. I can use the SDK just fine from regular .net, but it's not compatible with monos .net 2.0 SDK which Unity uses. I'm looking for a straight C# solution as it needs to be compiled for both PC, Android and iOS. Does anyone have experience with getting the SDK…
-
Exports Events to csv file?
Hi All, Daily, i check events shared folder of dropbox. But it make long time. Can you help me tool export event to csv file, i can filter it? Thanks you,
-
Upload selected file from Dropbox to Amazon S3 using Javascript
Hi, I am developing my application in meteor. I have used Dropbox picker SDK, using it I am able to fetch URL of file uploaded on dropbox. Now, I want to upload selected file on Amazon S3 using javascript. How can I do this?
-
html file plays mp3 file OFF-LINE but not ON-LINE
I have an html file that contains an html5 audio player. The mp3 file that is embedded into my html5 audio player is also in my dropbox account--- so they are both off line and on-line. This html file will play my mp3 file WHEN I'm playing my Dropbox html file OFF-LINE. But when I go to my same Dropbox account ON-LINE---…
-
Sync files between Apps
Hey. People can create a real-time slideshow with my Dropbox app, which works fantastic. However, some people are running into an issue where they have another Dropbox app such as SimpleBooth and they can't share or sync the files from that App to my app. Is there a way to sync/share files between Apps in Dropbox? Thanks!
-
API v2 access token validity
Hi, We're upgrading from v1 to v2 and the new oauth2 is still not clear to me. On the API documentation pages it says that the code authorization flow gives you the access token (after you used the given code) and there is also told about a refresh token? That implies that the access code now has a expiration date? I hope…
-
FileMetadata checksum
Is there something better than file size to use as a checksum? Maybe Sha1 or MD5? I didn't see one on the FileMetadata class. It appears "Rev" changes even when the contents haven't changed (ie. on file rename)
-
authorization_code grant running right thru and not asking for App permission.
@Greg or moderator - can I post my client ID? https://www.dropbox.com/1/oauth2/authorize?response_type=code&client_id=XXXXXXXXX&redirect_uri=https://dash.dev.crmbuilders.com/dd/authorize&state=service1 The above with the correct Client ID runs right to the redirect_uri without asking for permission. On my local development…
-
What is the purpose of APP_SECRET in v2?
I'm migrating Permanote (formerly Nebulous Notes) to v2, and in doing some housekeeping, I noticed that the APP_SECRET is not used anywhere. I've been getting by without it for a couple of months now. I also checked the DBRoulette sample app, and it too doesn't seem to use the Secret. Is this something to do with 0Auth2…
-
Temporary Links With Different Filename
Does the API provide an easy way to create temporary links to files so that the filenames have a different name from the repository? Example: /file.txt To download as /someFile.txt
-
Need Full URL path of folder
I need the ful url path, I tried using 'https://api.dropboxapi.com/1/metadata/auto/google' url but got response object having "path:/google". I need full url. Also, using api I want create folder in Opportunities not in the app. How to do this?
-
Error Expecting "Bearer <oauth2-access-token>
status: 400,error: 'Error in call to API function "files/list_folder": Invalid authorization value in HTTP header "Authorization": "Bearer [object Object]". Expecting "Bearer <oauth2-access-token>".', Hi, I am getting this error after I use dropbox-sdk-js with passing the accessToken I got by using npm package…
-
Issues about Chunkupload
I'm writing a very simple console uploading program using most of the sample code from Dropbox.net Api. But I have two issues now. When the network drops and reconnects, I get an error saying "lookup_failed/incorrect_offset/". Where I go wrong? Another related question is, say I have a 5120kb file to upload and the chunk…
-
Where are 0Auth tokens stored on iOS?
Where are the 0Auth tokens stored on iOS? When I connect Dropbox from my app, delete the app, then re-download it from the App Store, it still shows I'm linked. To fully test my app from scratch, I need to reset all personal data associated with that app. Thanks! - Phil
-
Dropbox API List Folders
Hi there, As a part of my POC, I need to check in a user's account if a particular folder is present or not. If not, then I need to create that folder in the user's account. I am having admin account in Business Dropbox and I am able to list folders for my account, using the below user endpoint, passing my access token…
-
delays between chunks using cURL
I'm trying to built a server script using bash scripting and cURL for upload/download/archive operations through the HTTP API. However, after(!) every append (v2) there is a varying delay between 2-5 seconds until cURL can exit (therefore receive feedback from POST). The bigger the chunk the longer it takes cURL/POST to…
-
Generare un url ad una cartella via API
Vorrei ottenere l'url per laccesso ad una determinata cartella via browser, il link deve essere accessibile dai menbri del team. Possibilemnte vorrei ottenere l'url via API php ATTENZIONE PARLO DI LINK AD UNA CARTELLA NON AD UN FILE grazie in anticipo per la risposta
-
Power Query Data Source Dropbox (Excel File Saved in Dropbox), How to connect?
Hi Dropbox Support Team, Is there any way I can use the excel file stored in my Dropbox folder as a data source for my power query? How this can be done? I saw some discussion online about it, but does not provide a step-by-step process how it can be done. Any help or assistance in this matter is highly appreciated.…
-
OAUTH2 code flow V2
In the OAUTH guide the /token api endpoint example is for api V1. I don't see this endpoint defined for V2. How do I retrieve a token using the code flow method? This is the example from the doc: https://api.dropboxapi.com/1/oauth2/token.
-
ObjC listfolder responseblock is null
I'm trying to convert to v2 and have a valid authorized DBUserClient. I'm using the example from DBRoulette, but it the listfolder method is not returning anything. Any suggestions why? Thanks
-
Saver fails with dataURI
For several years my web-app used the Saver with a dataURI successfully. Recently I discovered that it now fails consistently and returns "null" as error message. Normally the Saver returns an error message like "protocol scheme not supported". Not so with dataURI's. I just get "null". Here is an example that worked in the…
-
[Obj-C v2] How to cancel requests?
If I follow the sample guidance, I do this: [[client.filesRoutes ...] setResponseBlock:...] But I'm not sure how to cancel the request. I tried doing something like this: DBTask *task = [client.filesRoutes ...]; [task setResponseBlock:...] And then if I need to cancel, do [task cancel] But then the task wouldn't execute.…
-
Upload User Submitted Photos/Video securely
Hello, I downloaded JavaScript API to try out upload functionality. However, I also noticed using the same token that I generated I can use to see files. Is there a way to seperate a token to only do upload only and no reading folder/files. I don't want people accessing my dropbox account and downloading files - upload…
-
Revoking shared links
I'm new using the API. I wonder what's the best way to revoke shared links. I want to only allow sharing within my organization. My first idea is for each user to check every shared file and their properties. Regards
-
PDF preview (endpoint : files/get_preview)
Hi Why PDF format is not supported by the API call files/get_preview? Whereas now in Dropbox App (chrome) we can see a small PDF previewer ... Is it in the roadmap? Thx :)
-
Graceful shutdown of API V1
This may seem like an obvious thing, but I thought it wise to check. Can you please just confirm that when API V1 is turned off on June 28th that any existing apps which are still running against this API will fail gracefully. So no crashes and no odd behaviour. I would expect it to work the same (to the user) as if there…
-
Api Quota
What's the api quota for application and user request(hourly, daily, monthly)?
-
Dropbox API in C# how to reuse the session id of bulk file upload in case file could not be uplo ...
aded by any issue. In case of uploading big file of more than 100 mb, if by some case the internet connection get dropped then how it will be possible to upload the same file from the chunk it has been failed to upload. Please suggest. I have tried to upload by same session id but it never worked. It is getting exception.