Comments
-
@"1575475" To confirm, I concur with that Здравко has helpfully shared here. The sharing/add_folder_member endpoint requires that an access token is sent as a "Bearer" token in the "Authorization" header, but it looks like your app is prompting for and sending a username and password as "Basic" authorization instead, which…
-
Yes, I tried the code you shared, plugging in valid refresh token, etc. values, and it worked for me. Please review the list in my previous message for reasons why that would fail for you. Check and update your values as necessary to make sure you're providing correct and valid refresh token, etc. credentials.
-
Yes, you can upload files to Dropbox using the Dropbox API /2/files/upload endpoint (or see that documentation for information on large files) and /2/sharing/create_shared_link_with_settings to create shared links. The documentation linked there has example code for calling these endpoints using curl in the shell. You can…
-
Thanks for following up. I'm glad to hear you got this working. And no, there aren't options for making customizations like those. All of the available options are listed in the documentation here.
-
The first way looks correct, and that code is working for me when I supply valid credentials. Make sure you're supplying the correct and valid values. For example, make sure: * the refresh token is exactly as originally provided by Dropbox * the refresh token hasn't been revoked by the app or user * the client ID and…
-
Thanks for the note. It looks like that was caught by the spam filter for some reason. I'll recover it and follow up with you there.
-
You would need to implement and use the OAuth app authorization flow in order to request and be approved for production status. Note that production status is only required for apps that need to be connected to more than 50 different Dropbox accounts, and without the OAuth flow there isn't a way to connect an app to more…
-
@"Jay P" Since you are getting the "invalid_root" error, it seems you are already able to set the "Dropbox-API-Path-Root" header, but aren't supplying the correct value. Please refer to the Team Files Guide for information on how to retrieve the relevant value(s). If that's still not working for you, please share the steps…
-
Thanks for following up. To clarify though, can you show me what you're seeing exactly when you say "but the user has no access to it"? I'll need to make sure I understand exactly what result you're seeing and where to make sure I can reproduce the same thing and investigate this.
-
@"Jay P" I can't offer support for Claris Connect itself, so I recommend referring to the documentation or support resources for Claris Connect. If Claris Connect doesn't already offer the ability to set the "Dropbox-API-Path-Root" header (or arbitrary headers such that you can specify "Dropbox-API-Path-Root"), the…
-
No, the Dropbox API doesn't offer the ability to access only specific cell data from an Excel file like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Whenever you get an error like this 400 error response, be sure to print out the response body as it will generally contain a more useful error message. What does it contain in this case? Looking at your code though, I see you're attempting the step where you call /oauth2/token with the existing refresh token to get a new…
-
1. I see you're trying to call the /2/auth/token/from_oauth1 endpoint. It sounds like this is a new integration, so as Здравко noted, you should not be using that endpoint anyway. This endpoint is only meant for use if you already have pre-existing OAuth 1 access tokens. It should not be used as part of the OAuth 2 app…
-
The Dropbox API does not currently offer the ability to export .paper files as PDFs, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
No, unfortunately the Dropbox API unfortunately doesn't offer the ability to search for files by date range like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"khatech" It sounds like you might be referring to shared link permissions. Check out the help center for more information on configuring shared link permissions. Otherwise, please share the rest of the requested details if you need technical support.
-
Its sounds like your team recently switched to the "team space" configuration. By default, API calls operate in the "member folder" of the connected account, not the "team space", so you wouldn't see anything in the team space when using the API by default. You can configure API calls to operate in the "team space" instead…
-
That should be controlled by your Podfile. For instance, v3.0.16 dropped iOS 8, so if you're still specifying support for iOS 8 in your Podfile, Cocoapods wouldn't upgrade you past that.
-
Can you elaborate on what you mean when you say it is "not working"? For example, what error or unexpected output or result do you get? Make sure you check the JavaScript console for any errors, for instance. Looking at the code you shared here, I don't see where "element" is defined. Do you have that defined? That needs…
-
Dropbox is in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh…
-
@"khatech" Can you elaborate on what you mean when you say "the shared link doesn't work"? For instance, please share: * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s) * the full text of any error or unexpected output, a screenshot of the unexpected…
-
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s) * the full text of any error or unexpected output, a screenshot of the…
-
In that case, note that by default, shared links point to a HTML preview page for the file, but if you need direct file data access, you can modify the links as shown here.
-
@"khatech" Also, since you posted this in the API section, if you want to create a shared link programmatically, you would use /2/sharing/create_shared_link_with_settings. To retrieve existing shared links, use /2/sharing/list_shared_links. By the way, those are links to the documentation for the HTTPS endpoints…
-
There are a few reasons you may not be seeing everything. First, note that if your own app is registered for the "app folder" access type, it will only be able to access the contents of its own app folder, and won't be able to see the app folders of other apps. It's not possible to change the access type on an existing…
-
I recommend using the official Dropbox JavaScript SDK if possible, as it will do much of the work for you. Alternatively, it may also just serve as a good example even if you can't use it. Otherwise, refer to the documentation for /oauth2/token. It contains examples of calling the endpoint for different scenarios that you…
-
@"Petugo" Thanks for sharing the URL. Can you share which browsers (e.g., Chrome, Safari, and/or Firefox, etc.) and which version number(s) of each of those browser you're using where you see the issue?
-
You can download a zip of the SDK like that if you wish to work with it directly, e.g., to modify and build it manually, run the examples, etc., however to just use the package in your own application that is not necessary. In that case, it is generally recommended to just install it from NuGet (Dropbox.Api), e.g., using…
-
@"Petugo" What specific browser(s) and version(s) are you seeing this with? Some browsers/modes have special privacy/tracking blocking behaviors that may impact the Dropbox Embedder, since it's technically embedding a third party site.
-
Thanks for the report. It looks like this is a false positive on Apple's part. The only references to "showLoading" in the Dropbox Objective-C SDK are in a protocol we define and expose for callers to optionally implement and use. It sounds like this check may be inconsistent though. We suggest trying to upload again. You…