Comments
-
Can you clarify if you're trying to install SwiftyDropbox, and if so, which version? The latest version is 5.1.0, and you can find the installation instructions here. Please follow those, and share what error(s) you're getting if that's not working for you. (That should also install the necessary Alamofire dependency for…
-
I'm glad to hear you already got this working. For reference, the 'email_not_verified' error does mean that the connected account does not have its email address verified, so some functionality won't be available. That can be resolved by verifying the email address on the account, as it sounds like you've done.
-
The Dropbox Python SDK does use the requests library. You can find where it's imported and used here and here. The trusted certificates are loaded from this file at this point in the code. You could potentially modify that file or code, though I should reiterate again that as a matter of security we do not recommend doing…
-
@"Ronaldo77" That line of code would disable verification of the SSL/TLS certificate, which should not be relevant to the original discussion here. In any case, we do not recommend disabling the SSL/TLS certificate verification, as a matter of security.
-
By "it does appear that if I tried to share with an incorrect email it might not work", are you referring to the 'email_unverified' or 'invalid_email' errors, perhaps? Those actually just refer to the connected user's account (i.e., for the access token you're using) not being verified, or the email address value for the…
-
It sounds like this use case would be better served by the 'raw=1' option instead of 'dl=1'. Can you try switching to that and let me know if that doesn't help? Thanks.
-
The Dropbox API doesn't offer a way to list all known contacts, so you'd need to find the account by listing the members of the relevant existing shared folder(s). The recipient can still accept the invitation if they happen to use a different email address on their Dropbox account.
-
If you don't already have a connection to the other user in Dropbox, there isn't a way to retrieve it. Instead, you can share it with them via their email address. To give them access to mount and edit the folder, you would first share the folder, then add them to the folder. In that second step, you can specify the…
-
I don't believe the Dropbox Python SDK offers such an option, but I either way I would strongly recommend against disabling certificate checking anyway.
-
That sounds like something that would need to be implemented in the IFTTT code that connects to Dropbox, so I recommend sharing this request with IFTTT. (We do have some information on incompatible characters in the help center in case it helps.)
-
Even if the API call itself doesn't return a result or error, we'd expect the HTTPS connection itself to eventually timeout and so the client would raise a exception for the failed connection. How long did you wait when you noticed this happening? Also, can you add logging to see when this is happening? It would be useful…
-
The Dropbox API does not offer any special functionality for remotely editing Excel files stored on Dropbox. You'd need to download the file, make your changes to the contents, and then upload the new version.
-
Thanks for following up and clarifying. Yes, that's expected. When you delete a shared folder from an account, for instance, that doesn't actually destroy the namespace; it just removes or "unmounts" the shared folder from the account, but it can be re-added later.
-
For "Dropbox API" apps, which are "user-linked", the app gets connected to specific Dropbox accounts, via the user's own authorization. The user can unlink these apps themselves. For "Dropbox Business API" apps, which are "team-linked", the app gets connected to entire Dropbox Business teams, which can only be done via…
-
1. Dropbox access tokens don't expire, but users, team admins, or apps can revoke an access token at any point in time. 2. Creating multiple apps and access tokens is fine. You can own and use multiple apps, as well as create multiple access tokens for any app, without issue.
-
Can you clarify what you mean when you say the method "gets stuck"? The getMetadata method should either return a Metadata object, if the call is successful, or otherwise raise some exception. Are neither of those happening? Are you getting any error or output in the console when this occurs? You may want to add some…
-
To make sure I understand the scenario you're asking about properly, can you share the endpoint/method you're referring to, as well as the particular parameters/values you're using with it? Thanks in advance!
-
Thanks! It looks like there's just a small issue in that code. The file_properties_properties_add method expects a list of 'PropertyGroup', so instead of: dbx_api.file_properties_properties_add(p_target_file, property_group) you should do: dbx_api.file_properties_properties_add(p_target_file, [property_group])
-
Thanks for the feedback! I'll ask the team to clarify this in the documentation.
-
I see your tests for pinging www.dropbox.com on ports 80 and 443 were successful. Note that the ports 17600 and 17603 mentioned in that help article are only for specific Dropbox desktop client functionality. That's not relevant to using the Dropbox API. All Dropbox API calls require TLS, so they should all only be sent to…
-
@"jk136" Thanks for the feedback!
-
Thanks for writing this up! It looks like this happens when you specify the same template multiple times in the same call to file_properties_properties_add, instead of just once. The server error occurs because we don't handle this case properly on the Dropbox API. I'll ask the team to fix up that error handling. To avoid…
-
Dropbox does offer a Business API you can use for managing Dropbox Business teams, such as adding and removing members, among other operations. You can find everything the documentation for the Dropbox Business API here: https://www.dropbox.com/developers/documentation/http/teams Please note, that's a link to the…
-
@"jayanthi123" The "OAuth 1" functionality discussed in this thread is only for converting pre-existing old OAuth 1 access tokens to OAuth 2. If you're just starting now, you wouldn't have any OAuth 1 tokens and so shouldn't use that. Instead, to get an OAuth 2 access token for the end-user, you should implement and use…
-
The /2/files/upload endpoint is a "content-upload" style endpoint, meaning it expects the raw file data to be sent in the HTTPS request body, with the "Content-Type: application/octet-stream" request header to match. I can't offer help with working in NetSuite though, as it's made by a third party, so I don't know how data…
-
In your code, I see you're uploading the data in the 'decodedStr', which is defined via 'var decodedStr = toBase64(fileContents);'. That seems like it may be the opposite of what you want to do though. The Dropbox API does not expect the uploaded data to have a layer of base64 encoding and will not automatically undo any…
-
Dropbox does not have just a single IP address, and unfortunately because the Dropbox IPs are subject to change as servers are added and removed, or as maintenance occurs, we are unable to provide you with a list of our IPs. We recommend you rely on the host names *.dropbox.com and *.dropboxapi.com if possible.
-
I just wanted to follow up on this thread to let you know that we've made a preview of a new pre-built component for embedding files and folders available! You can find more information about the Dropbox Embedder in our blog post here: https://dropbox.tech/developers/new-file-and-folder-embedder-launched-in-preview There's…
-
I just wanted to follow up on this thread to let you know that we've made a preview of a new pre-built component for embedding files and folders available! You can find more information about the Dropbox Embedder in our blog post here: https://dropbox.tech/developers/new-file-and-folder-embedder-launched-in-preview There's…
-
I just wanted to follow up on this thread to let you know that we've made a preview of a new pre-built component for embedding files and folders available! You can find more information about the Dropbox Embedder in our blog post here: https://dropbox.tech/developers/new-file-and-folder-embedder-launched-in-preview There's…