-
no longer able to upload video via api
The following code once successfully uploaded video, but now does not. No errors thrown on execution of the upload() function and I get 200 a response back from the server for each chunk read from the file. I wonder if there is something wrong with my account - I got a warning to renew and afterwards I started having…
-
client_modified on filesListFolder entries all in UTC, lose TZ info
Hi, I have Automatic Timezone set to ON in my account but all the entries returned from an api call to filesListFolder are in UTC. When I download a file on Windows then right click -> Properties -> Details I see the following: with has the tiem with the correct timezone. Is there a way to get this information from the api…
-
cannot copy files with filesCopyBatchV2
I am trying to copy some files from my `Camera Uploads` folder to another folder `Videos` first I do const { async_job_id } = await dropbox.filesCopyBatchV2({ entries, autorename: false, }); This seems to work because I get back a long string for async_job_id Then I do the following: while (true) { try { let response =…
-
how to get height and width of an image from the api
I want to display an image stored on dropbox on my webpage. I am using the Javascript SDK. I get a shared link via sharingCreateSharedLinkWithSettings and the image displays, but I want to specify the height and width in my img tag, and am missing that information. I tried filesGetMetadata but it does not return what I…
-
getting a 409 error and need help
I'm just getting started with the Dropbox API. I want to see a list of all files in my `Camera Uploads` folder (and eventually download them) via the api. I've been following some tutorials and have tried the following: import { Dropbox } from 'dropbox'; const accessToken = "<my token>"; const dbx = new Dropbox({…