Comments
-
If the path values are not set, that indicates that the requested item is not mounted in the root for that call. For example, a user may have unmounted a shared folder containing the item in their account. Since this depends on the state of the account, if you need help with this, I suggest opening an API ticket privately…
-
@"Rephoto" While the API supports uploading up to 350 GB for a file, it sounds like there's an issue in that code causing it to try to upload too much data for the 2.6 GB file. I suggest printing out the offset from the cursor before each append call to begin to debug this.
-
1) No, the Dropbox web site does not appear to offer a keyboard shortcut for that particular feature. You can find information on the available keyboard shortcuts here . This section of the Dropbox Community is only meant for the Dropbox API though, so if you have any other questions regarding the rest of the Dropbox…
-
@"zachbfg" Dropbox still does not support embedding a file request on another site. You can include a link to a Dropbox file request (that is, using a "<a>" element), but Dropbox doesn't support embedding the Dropbox file request web site itself (e.g., using "<iframe>").
-
@"cjacky475" The use of a refresh token works the same way whether you make a small or large number of calls. The SDK doesn't perform a refresh on every single call; it only performs the refresh when it needs to. And as Здравко said, it is not required, but you can retrieve the current access token using…
-
The filesListFolder[Continue] functionality is the only functionality to use to list and follow the changes in an account, if you need to support any account type. That functionality doesn't offer more specific event filtering though; it returns both new and updated files, as well as folders. If this is a team account…
-
@"cjacky475" Здравко is correct; when using an official Dropbox SDK and supplying a refresh token, you do not need to catch this in your own code. It looks like you're using the Dropbox Java SDK, so if you're interested, you can see where the Java SDK handles this error internally for you here.
-
@"Linda333" That's correct, the Dropbox API does have a general rate limiting system that applies to all account types, but we don't have specific rate numbers documented for that, and we cannot increase the limits for any particular app, user, or team. Apps should be written to handle these rate limit responses…
-
@"TheSecurity" That's correct, Dropbox requires OAuth 2 redirect URIs to be registered exactly, including the port, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. As Здравко noted though, you can instead register multiple redirect URIs to support multiple ports.
-
@"saharin" Also, regarding "does not cause errors, but the list of cloud storage files does not print", are you referring to trying to list the contents without using "Where"? In that case, there are a few things to check: * Are you connected to the correct account that you expect to be accessing? * Are there actually any…
-
@"saharin" Thanks for following up. Unfortunately as we cannot reproduce this issue, and this functionality is not actually part of the Dropbox API/SDK itself, I'm afraid I can't offer much insight on this. For reference, the "Where" method is provided by Microsoft, and you can find information on that here. I see you said…
-
The timestamp for the event would be the original timestamp for when the event itself took place, that is, when the user logged in, not when the API call to get_events was made. I can only provide help regarding the API itself. For help regarding the properties of the sign-in functionality itself please refer to the help…
-
Yes, the "logins" events apply to logging in using SSO as well. The "timestamp" on a TeamEvent is the date/time the event itself took place. So for a login, it's the time the user logged in, regardless of how long they stay logged in after that.
-
@"HristoYordanov" Здравко is correct. The new folders do not have a shared folder ID because they are not themselves shared folders. They instead just have a parent shared folder ID because they have a parent that is a shared folder. To manage the sharing of those folders in particular, they would need to be shared…
-
@"Mgymnasts" As Здравко said, a path/not_found error is not expected when calling files_list_folder with a path value of the empty string ''. Like they recommended please double check the path parameter value you're setting when making that call, and double check if that's the particular call that is resulting in that…
-
Yes, while the app can request a maximum number of events to return per page, in some cases the server may return fewer than that number. That means that when you send a limit of 5, it is possible that the API will return one or even zero events on any given page. This will vary depending on a number of factors on the…
-
Thanks for the feedback! The Dropbox API does not currently offer the ability to control the file request naming conventions, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Thanks for following up with this additional information. We do not currently provide API support over web calls, but we can continue helping here. Looking at the information you provided, I see you're calling /2/team_log/get_events, but you didn't mention or show how you're checking the result and calling back to…
-
@"saharin" Can you clarify what you mean when you say "This ok"? Have you resolved this issue?
-
Thanks for the report! I just tried this functionality myself, and I was able to retrieve events from after 2019 using the /2/team_log/get_events[/continue] endpoints, so we'll need to look into this more specifically for you. So that we can reproduce and investigate the issue you're seeing, please reply with: * the name…
-
Thanks for the feedback! If you'd like to share the details of that issue with the Dropbox SDK, such as the code/steps to reproduce the issue and the full error/output you're getting, we'll be happy to take a look.
-
@"saharin" I just tried out that original code sample, and it worked for me. If you're still having trouble with this, can you let me know the version numbers of each of the following that you're using? * Visual Studio * .NET Framework * Dropbox .NET package
-
Can you clarify what you mean when you say "altough the version of Axios in both environments is the same, the user agent is different"? The "user-agent" request header value being set by the client does seem to indicate that a different version number of Axios is being used in each case.
-
@"ABDUL Salam" No, unfortunately the /2/files/save_url endpoint doesn't offer "write mode" options, e.g., to overwrite an existing file at the specified location, like /2/files/upload does. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
Thanks for following up with the additional information. I see you're getting an error: TypeError: Cannot read properties of undefined (reading 'name') That's not an error from the Dropbox API itself, but rather an error indicating that your 'file' variable is undefined. You'll need to debug your code to determine why that…
-
Thanks for following up. The /2/files/upload endpoint supports uploading files up to 150 MB, so a 25 MB file should be fine. That being the case, it's unclear what may be causing this, so to investigate further I'd need some more information. Please reply with: * the name and version number of the platform and Dropbox…
-
I notice you're calling the /2/files/upload endpoint when this occurs. How big is the file you're trying to upload when it returns this error?
-
You can find information on /2/files/move_batch_v2, such as its possible return types, in its documentation here. If you get a async_job_id back, you should use /2/files/move_batch/check_v2 to check the status of the job. You can find the documentation for that here.
-
Dropbox does not provide code review or debugging services, but we can help with any specific questions or issues you have regarding the Dropbox API if you provide the details. For example, if you need help with some particular issue on the Dropbox API, reply here with the details of the issue: * the name and version…
-
Thanks for the detailed post! The 'development' versus 'production' status of your app affects how many accounts can be connected to your app but it doesn't affect the content types/encodings of the messages returned by the API. Does your development environment have a different version or configuration of 'axios' than…