Comments
-
@"Artyom L" wrote:... Since my current plan is free aka basic, my account is not a team account. ... Hence my question - can I use /2/files/search_v2 endpoint without Dropbox-API-Select-User header? Thks Seems you read my posts... no very consistently (if could be said so). 🤦 Ok... I will repeat: For individual account…
-
@"Artyom L", You still didn't post anything related to how/what you have posted, using your POSTMAN, in details! 🤷 Also what is the account you're using? You make me speculate. Don't use such header on individual account. Where have you taken the namespace id from in use as header value? 🧐 Is it certain context account has…
-
@"Mgymnasts" wrote: ..., but I also can't see the list of folders/files in the account. When my code gets to for entry in dbx.files_list_folder('').entries:print(entry.name) It is stepping right over the print as if dbx.files_list_folder(").entries isn't even there.... @"Mgymnasts", Is there any chance your application is…
-
... in addition to Greg's advises: Migration to MonoDevelop may be considered. It's at the same time simplistic and feature rich IDE; ideal for start learning (and not only). Even more: its underlying platform - mono - is much more portable than original .NET! It's officially supported on Mac, Linux, and Windows only, but…
-
@"saharin", That's definitely related to your environment and not to Dropbox API/SDK. You should investigate further what's wrong there. 🤷 @"saharin" wrote:..., but the list of cloud storage files does not print. It could be wrong expectation. Depending on your environment settings, the console, where output prints out,…
-
Hi @"Mgymnasts", As seems, your API settings are fine (if there was some issue, settings related, you wont be able get to such error). It's strange such an error to appear for empty path (such path is always correct and existent). 🤔 Are you sure you had empty path set when you received that error? 🧐... Or maybe the error…
-
@"HristoYordanov" wrote:... I have an issue retrieving shared_folder_id of a sub folders created via /2/files/create_folder_batch endpoint. ... Unfortunately I can not retrieve SubFolder3's shared_folder_id, but only it's parent_shared_folder_id (which refers to FlowFolder). ... , but I can only receive…
-
@"Artyom L" wrote:... For tests now I am using basic plan. In the documentation it says that I need Dropbox-API-Path-Root param to make a request but it seems that there is no such param for basic plan. ... Hi @"Artyom L", First of all let clarify some terminology. 'Dropbox-API-Path-Root' is not param, but header! In spite…
-
Hi @"saharin", Hm..🤔 It's something strange - seems like a problem of your environment (Visual Studio in the case). Try something like following simpler code: async Task ListRootFolder(DropboxClient dbx){ var list = await dbx.Files.ListFolderAsync(string.Empty); foreach (var item in list.Entries) { Console.WriteLine("{0}…
-
@"hashirshabbir" wrote:..., it's possible that there might be a specific issue with this particular file's accessibility or format on the server side. ... No @"hashirshabbir". All files, in perspective of API/SDK, are like "black boxes". The only difference is these "boxes" size. In particular case, the size is too small…
-
You can dump 'response.status' and 'response.headers' (most interesting is "dropbox-api-result" header, if any) to see what's going on (as a first step of course). Add: Why you need to construct new Promise at all?! Why don't you use the 'onload's body to perform rest of the work? 🤷 Would be more simple and stable (last…
-
@"brtdvrs" wrote:when I want to download a json file of 4,7MB the response is empty. ... [Fiddler] ReadResponse() failed: The server did not return a complete response for this request. Server returned 3.261.611 bytes.... Hi @"brtdvrs", Do you understand that you contradict to yourself? It cannot be empty and contain…
-
Hi @"AYP-BOT", Such a message shows that you have destroyed your link somehow. How exactly you transformed it to direct link? Seems like mandatory link parameter 'rlkey' is removed while only 'dl' parameter has to change. Hope this helps.
-
Hi @"karver", You have 2 errors, at least. The first one is obvious - you have pointed something that doesn't exist (likely it's the same as explained before; not mandatory, of course). The other one is the fact that you're trying to download folder content using method suitable for files only! To be able download a folder…
-
As I said before, it's your responsibility to keep all needed information!!! The only work for all those accountId is to be unique and so you be able index whatever you have stored before, nothing more. Of course you can use it whenever applicable. For the test (just to see how it's working) temporary remove all team…
-
@"dsoprea" wrote:... They only work for non-team accounts. Yes, they are designed so. As seems it's difficult for you to adapt it!? 🧐 Try to change the line: for account in json.loads(request.data)['list_folder']['accounts']: ...to something like: teams = json.loads(request.data)['list_folder']['teams']for team in teams:…
-
@"dsoprea" wrote:... This differs from the folder-scoped app events, in that those have an 'accounts' list under the "list_folder" event/directive. ... Hi @"dsoprea", Yes, unfortunately documentation is a pain for Dropbox; and it's not only about API, it's the same for everything. 🤦🤷 Have you seen Dropbox official…
-
@"toki4004" wrote:..., and now I want to view a folder list with items + see their properties. I get this error: "Error in call to API function "files/list_folder": request body: include_property_groups.filter_some: expected list, got string". Here is my code below. What format is expecting for "include_property_group"?…
-
@"toki4004" wrote:I created a template in my app and got a response with a template id. I can also make a call in my app "get_for_user" and view the schema for the new template. BUT when I go to your API explorer, I get nothing back ... Yes, of course @"toki4004". Every template is valid for application-user pair (neither…
-
@"Rephoto" wrote:... I have done uploading small sized files. And I continue to upload files larger than 150MB in size. ... The only difference when you upload larger files, compared to small files, is that you will need to slice file to pieces and upload every piece to its corresponding place in the file session (not on…
-
Hi @"SandeepCNT", Is your account business (i.e. group) or personal? Keep in mind the permanently deletions is unsupported for personal account and business one will be expected. Hope this helps.
-
Do you understand that on that place has to be the offset in the file in Dropbox session where ongoing upload would go to? In this context, what would be between offset 0 up to memStream.Length? 🤔 According your code, there is nothing. 😜 Read the documentation with a bit more care!
-
Also don't nest lists one in other directly..
-
@"toki4004", did you prototype your calls? As seems not yet... Yes, property group is list/array. The elements of this list are dicts. The fields of each element is list also. Take a bit more care. 🙋
-
You should debug yourself connection breaks, but there are other... let say strange things in your code. You're starting upload file content at expected file end instead of the beginning. Why? By the way this is error since the file content cannot have "gaps". Even without connection break, you would receive error denoting…
-
Hm... Ok right.
-
Create and upload sessions (and close it) for all files that are less than 150MB in parallel and finally finish all them in a single call. 'too_many_write_operations' is sensitive to number of finishes. When you have many finishes it becomes likely to appears such a error. When you combine them in single call they become…
-
If you want to just upload a single small file and that's all, using UploadAsync is the bast. In such a way you create session, upload and close the content and finish the upload - all in this single call. Here is no any optimization. In your last code snippet you make it rather slower - 2 calls instead of one. If you want…
-
@"Rephoto", Why are you trying to upload the same stream twice? 🤔 Previously you skipped upload at all, now just opposite! 🙂 Something else: Why you skipped finishing the all sessions in batch? In such a way, there is no optimization! Even more - you can do the same with a single call. 😉
-
@"Rephoto" wrote:@"Здравко" Oh, So I'm missing the file upload part. But I don't know which one to use? In general, you should use UploadSessionAppendV2Async method to upload stream' data. In such case you can combine the batch with big files upload either sequential or concurrent. When you know that only small files are…