-
API v2 access token validity and authorization redirect URL response
Is it correctly understood that the token I get from a user after the authorization flow, is valid until the user revokes it? Meaning I can just store it securely in the app and use it each time it's needed? Second question. If I can not close the browser that presented the dropbox authentication dialog (on calling…
-
Dropbox API: No CORS header present
Hi, I am using the dropbox core API v2 with angularJs web client using $resource and Express REST server to access dropbox. After i moved to $resource from my client instead of $http, I am getting the following CORS error when redirecting to dropbox for OAuth2 authentication as mentioned in the Dropbox OAuth2 guide. If i…
-
Sharing folders via API with outside email address
Using the Python SDK. I am creating a shared folder and would like to invite someone to collaborate on the folder and I only have the email address. We are on Dropbox Plus and it is not a team account. Is this possible and if so how would it be done? I tried using the sharing_add_folder_member, but it does not sure…
-
iOS Obj-C Getting result.entires to be UItableview Datasource
Hello, i'm new to v2 and I'm updating an app using objective-c. When I call a listFolder, I get results. [[client.filesRoutes listFolder:searchPath] setResponseBlock:^(DBFILESListFolderResult *result, DBFILESListFolderError *routeError, DBRequestError *error) { if (result) { NSLog(@result.entries %@.",result.entries);…
-
Auth Token Question
Hello, I am using JavaScript API from dropbox. Is there a way to generate a temp token, so it expires after its used once? I find a permanent token is risky, anyone can just upload anything to my account. Thanks!
-
[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…