-
Dropbox-Uploader API - Upload Error
Hello, I have created an APP for API uploads and have given the APP read/write permissions for files. I have run the dropbox configuration with my keys and tokens. The command I run from my linux box is: ./dropbox_uploader.sh upload sr-s31-4.txt TAC/sr-s31-4.txt The error I get is: Some error occurred. rerun the script…
-
PHP: Error in call to API function "files/upload": The given OAuth 2 access token is malformed.
How do I fix this? The code is: <?php$path = '(full path to file)'; $fp = fopen($path, 'rb'); $size = filesize($path); $cheaders = array('Authorization: Bearer <API>', 'Content-Type: application/octet-stream', 'Dropbox-API-Arg: {"path":"/test/'.$path.'", "mode":"add"}'); $ch =…
-
How to fix the short-lived access token issue?
I have a Desktop/Mobile Xamarin application that reads and writes to the Apps folder in a users Dropbox. It has been working fine for a long time but now that Dropbox has moved to short-lived access tokens my application is having issues. It used to be when the application got the Dropbox token that was it unless the user…
-
Auth redirect url
Why does the redirect url after the Authorization process look like "#access_token=IuAX.........". The # at the start prevents my server code from getting the url parameters. Using .request().queryString() in java
-
Video URLs return 403 error
Recently, video links which we get from Dropbox (iOS/Android) Chooser return either a 403 error, or they return 200 but never load. We are using link type: DbxChooser.ResultType.DIRECT_LINK / DBChooserLinkTypeDirect so the links are in this format: https://dl.dropboxusercontent.com/1/view/... Image links work correctly.…
-
Unable to see custom Properties after setting them
Hi I need to some to figure this out, I cant seem to see the properties that i 've set on a document I uploaded (I've got the following DONE - Basic Account setup, Scoped App setup, refresh tokens saved, custom template created, got the id) Using both of the following methods - API Explorer and Python SDK - I've run…
-
Re: Dropbox stopped returning Content length in the response headers.
Hello, again there is not content length provided, and plus the links are now rendering html with iframe containing download link... Please make sure that also people who need to access files programatically can be served consistently. Thank you.
-
list_folder_continue -> 504 errors
Hello, I'm using `list_folder_continue` of the Python SDK to recursively traverse (via pagination) a folder with a very large number of files (hundreds of thousands). After a while, I'm running into internal server errors. Here's the log: 2018-09-24 20:09:12,831 - dropbox - INFO - Request to files/list_folder/continue…
-
Search Folder or File with SearchV2Async
Hi, I am trying to search for a specific folder in Dropbox using `Files.SearchV2Async` function in Dropbox sdk. The search option is set to look for only the active files/folders, but with this option set `Files.SearchV2Async` returns even the deleted folder (the result for the deleted folder has IsDeleted flag as false,…
-
Multiple users interacting with one Dropbox account via the API
Hi! I'm building a JS web app that requires end-users that are logged into the app, to interact with one Dropbox account via the API. The interaction is based on new files being created when a when a form is submitted, triggering an API call and using information from the form. However I'm unsure how to go about the auth…
-
Dropbox API: How to check if user can create shared link without calling create_shared_link_with_set
I build an app and I am would like to proactively inform the user they could not create shared link on a file/folder without them clicking the button and handling the error. My question is, what API should I check to achieve that?
-
How can I read files from Dropbox to display on my React webpage?
Hello, I was able to connect to Dropbox and make a call dropbox.files_list_folder(path="") to fetch information about files I have uploaded to my storage. However, I just can't find a way to display the image to my webpage... I tried using 'path_display' field to try to get it done but it doesn't seem like this will let me…
-
Paid Support for Long Live Access Token
Hi everyone, we want a long live access token for our new application. Please provide support or help for the same. thanks in advance.
-
API for Direct Sharing Setting under Security
I have developed an application to assign and remove folder/file permissions to external users through API for my organization. It only works when we set "Direct Sharing" to "On (Anyone)", however we are looking to update it to "Team + Approved" and for this we need to add external users under Approved list. It will be…
-
Dropbox AP: How to check a private folder when list_folder
How can I check if a folder is private folder when calling list_folder endpoint? Can it be done in the Dropbox .NET SDK?
-
Catching path/conflict/folder in CreateFolderV2Async
Not sure if y'all are on StackOverflow (I THINK so?) but I'm having issues with path/conflict/folder exceptions from CreateFolderV2Async, that being that my code successfully catches said exception, but then it still manages to show up in my global unhandled exception handler, which it shouldn't be. Not sure if the issue…
-
Problem with download a folder as a zip with API
I try to use this API a lot of time, but it always download a document file which I even could not open. It will be better more if you teach me how to implement this API by using Java JDK. The upload api is the same case with download, when I upload any file, it will upload a document file which I could not open. Thank you…
-
SwiftyDropbox SDK + Sign In With Apple?
My app uses the Dropbox API to allow users to backup their data to their own Dropbox account. I have a button called "Sign in to Dropbox", which launches the auth flow. Once connected, the user's data is automatically saved to Dropbox. Works great on Android. Unfortunately, Apple are being very Appley and have rejected my…
-
dropbox.exceptions.AuthError: expired access token
When I run an app I developed, I get an error. dropbox.exceptions.AuthError: AuthError('89ade68e26bd49d592d01bfbfae5659b', AuthError('expired_access_token', None)) What could be wrong with my OAuth code? def oauth_flow(): return DropboxOAuth2Flow( APP_KEY, 'https://dropbox-notifications.herokuapp.com/oauth-callback',…
-
Preview the file data of files inside a zip file.
Hi Im currently listing the contents of a folder using the /files/list_folder end point. I need to be able to list the contents of a zip folder. What might be the best endpoint for this?
-
Dropbox authorization - refersh token
Does refresh token is long-lived?
-
golang file upload
Hi, I was able to upload a file using golang using this: var ( body = &bytes.Buffer{} writer = multipart.NewWriter(body) ) b := dropboxAPI{ Path: "/" + name, Mode: "add", Autorename: true, Mute: false, } header, err := json.Marshal(b) if err != nil { return nil, errors.New(fmt.Errorf("json marshal, err: %#v", err).Error())…
-
Non expiring token kept on changing
So i tried following this article about obtaining my perm app token. I did the exact steps. but it always gives me a different Token when i try to access the link https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Tokens-only-valid-for-4-hours-from-app-console/td-p/425269 am I doing something wrong here? it feels…
-
JavaScript GitHub Action to Upload Build Artifact to Dropbox
Hi... first confessions - while I understand OAuth flow at a high-level, I'm not super familiar with the details. I've poked around quite a bit here and on Stack Overflow and cannot find the answer to what seems to me to be a pretty simple request. I have a Wiki on GitHub. As part of a commit Action, I want to bundle some…
-
missing_scope on CreateSharedLinkWithSettingsAsync C#
-
Download invoices using Business Endpoints
Hi, I'm trying to figure out if it's possible to download invoices of a Business Account using the API? I haven't found anything yet but was wondering if that's because it doesn't exist or because I can't use a search function? My use-case would be that I could then write a simple application that then automatically…
-
NewConnectionError
I have recently started getting the following intermittent error when attempting to upload a CSV file to my Dropbox account from a python application running on a Raspberry Pi HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/files/upload (Caused by…
-
Token expiry
Hi there, Where can I change the expiry time for an app's access token? The option used to be under "settings" but I can't find it today! Thank you
-
API V2 Access team folders of bussines plan with Folder/Files operations
i want to acces team folders using application user api for list,create folders, upload and download,etc.. and i'm going crazy. In API Explorer with function "list_folder", only can acces user home folder, y try put in path the id of shared id,or namespace ns; does not work either, The only way can view team folder stuff…
-
Using Curl & Dropbox API to upload files to a DB request link
I am wanting to create a BASH script in Linux to use when I need to load media files to a Dropbox request link that a group of mine uses for collaboration. How would I do this with curl? The link is in the form of https://www.dropbox.com/request/[REDACTED]. The web interface requests a NAME and an EMAIL ADDRESS when I hit…