Comments
-
@"whats" The SwiftyDropbox SDK doesn't offer a way to print out the raw HTTP request/response, but you should be able to check the `error` for any given call, e.g., as shown in the `response` handler in the examples here.
-
The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. While it is technically possible to always connect to just one account for all users, we do not officially support this, for various technical and security reasons.
-
It's not possible to skip the app authorization flow and gain access to the end-user's account. In order for the app to access the user's account, the user needs to grant the app access to their account. This only needs to be done manually once per app-account pair.
-
@"Moesslacher" Thanks for the note; I'll do so.
-
@"Moesslacher" No, I don't have an update on this.
-
@"Moesslacher" Thanks for the feedback! I don't have an update on this. Please note the functionality Здравко is referring to is not publicly documented and not meant for third party use.
-
While a particular team admin account is needed to authorize the app when using any team scopes, the resulting connection is to the entire team, not just that particular account. You can check which account was used to authorize a particular team-linked access token though by calling /2/team/token/get_authenticated_admin…
-
@"FinervaStu" No, unfortunately there isn't a way to change that limit.
-
@"Schwankenson" This error message is referring to specifying what account on the team to operate on behalf of. For reference, when using any "team scopes", the resulting access token is connected to an entire Dropbox team, not an individual account. So, when using a team-scoped access token to access user-specific…
-
@"Nicolas Lavertu" Здравко is correct. And in addition to the "mode" and "autorename" parameters though, you can control the behavior using the "strict_conflict" parameter. Check out the /2/files/upload documentation for more information.
-
The information in the other thread you linked to is still accurate. Dropbox does not offer a way to programmatically upload larger files by link, but I'll add this thread to the feature request.
-
@"Adi4" As Здравко said, your destination path should include the destination file name as well, not just the parent folder. So for example, it sounds like what you actually want is something like this instead: TO_PATH = /sure/automat/copyfile
-
[Cross-linking for reference: https://stackoverflow.com/questions/77568085/does-vimeo-have-an-open-starder-for-developing-upload-links-if-yes-where-can-i ] Здравко is correct; the "upload" links on Dropbox are for getting data into Dropbox, not out of Dropbox. Try the /2/files/get_temporary_link functionality they…
-
@"g1st" No, I don't have an update on this.
-
@"ABDUL Salam" The Dropbox API does not offer a way to echo back the parameters/URL sent to /2/files/save_url. As Здравко asked though, were you inspecting this in the actual environment where this is failing?
-
@"ABDUL Salam" Thanks for sharing that. I just tried plugging in those exact values, and the file saved successfully for me. Are you still seeing this issue if you try those exact values?
-
@"gotuckyourselfin" Thanks for the feedback! I don't have news on this feature request, and as far as I can see there currently isn't work being done or planned to implement this. I'll follow up here if/when there's a change on that.
-
@"ABDUL Salam" Like Здравко, I just tried this using the values you provided and it also worked without issue for me. If you're still seeing this issue, please check the exact values you're sending as they mentioned, and if there's an issue on the Dropbox API side, share a sample we can use to reproduce it. Thanks!
-
Apologies for the delayed response. The team has reported that this was fixed. Please let us know if you're still seeing this.
-
I'm glad to hear you've sorted out the issue with the NetworkOnMainThreadException. For information on using refresh tokens, please refer to the resources in my earlier response.
-
Hi, thanks again for your feedback. I just wanted to jump in here to confirm that we've shared this with the team, including a request to extend the timeline. I can't promise if the timeline will be extended, but I'll be sure to follow up here if there's any news on that. Also, in case it helps, I wanted to clarify a…
-
@"Ghost Mjrm" As Здравко said, it's unclear what the issue is from the information you've provided. If you're having trouble with the Dropbox API, please troubleshoot the issue in your environment and if you need help, share the relevant specific details. For example, I see you are calling uploadAndFinish to upload a file.…
-
@"ABDUL Salam" As Здравко said, the backslashes you have in the output you shared here are not expected or accepted in the URL, so make sure those aren't in the actual data you're sending to the API. As for why this works locally but not on your server, does your server have a different version of any libraries you're…
-
@"Adi4" Здравко is correct; that download method returns a DbxDownloader, not the file data directly. Refer to the linked documentation for more information on using that functionality.
-
@"ClicDataConnectors" You don't actually need to check the RootInfo.IsTeam property; you can always use WithPathRoot to access the root for any kind of account. I recommend reading the Team Files Guide for more information.
-
Yes, you can generate a new short-lived access token before a previous one expires.
-
Even if the app is already in production status, you can update the "Publisher", "Description", "App website", and "App icons" fields from the "Branding" tab of the app's page on the App Console. You cannot change the "App name" while an app is in production status, but you can open an API ticket if you need a production…
-
Please note that calling only files_list_folder is not guaranteed to return all of the items in the specified folder. You should use both files_list_folder and files_list_folder_continue to make sure you can retrieve all entries. Refer to the linked documentation for more information.
-
@"Bdice" Yes, the Dropbox Embedder is available for use and you can find the documentation for it here.
-
@"Ghost Mjrm" Здравко is correct; for long-term access, you can request "offline" access, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. Refresh tokens do not expire automatically and can be used repeatedly.…