We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
aksg
9 years agoNew member | Level 2
Http 504 Gateway Timeout when trying to get upto 1000 or more files in c#
I am trying to fetch a folder using C# dropbox api and I am paginating results as well but still I get timeout on it as it contains more than 1000 files. Here is my pagination code: var child...
Greg-DB
Dropbox Community Moderator
9 years agoThanks for the report. To help us look into this, please share:
- the full error output
- the relevant cursor(s)
- the affected user IDs
Thanks in advance!
- the full error output
- the relevant cursor(s)
- the affected user IDs
Thanks in advance!
aksg
9 years agoNew member | Level 2
But here the call:
POST https://connectoreastsftest.sharefileconnect.com/dropbox/v3/Items(e797f2aKVXZaWW5kkUdydma2IxQEFpXbp-UXmRunpCbrWhibpOiaGBoa6iYamKTpphgbW6YmW1iYGiWaKmSUlBQUW-nrJ-fn5aUml-QXFRvrFafpJhZklqQWl-gl5-fqAwA_)/Children?%24select=Owner%2FId%2CCreator%2FId%2CId%2CCreationDate%2CCreatorNameShort%2CDescription%2CFileName%2CName%2CFileCount%2CFileSizeBytes%2CHasMultipleVersions%2CPreviewStatus%2CState%2CVirusStatus%2CUri%2Curl%2CESignatureDocument%2CExpirationDate%2CMaxPreviewSize%2CStreamID%2CFileLockInfo%2CInfo%2CInfo%2FCanDeleteCurrentItem%2CProperties%2CProperties%2F%2A%2CInfo%2FCanDownload%2CInfo%2FCanSend%2CInfo%2FCanManagePermissions%2CInfo%2FCanAddNode%2CDlpInfo%2CDlpInfo%2FStatus%2CHasPendingAsyncOp%2CFavorite%2CFavorite%2F%2A%2CBundle%2CBundle%2F%2A&%24expand=ESignature%2CFileLockInfo%2CDlpInfo%2CInfo%2CFavorite%2CFavorite%2FItem%2CBundle%2COwner%2CCreator&includeDeleted=false&orderingMode=UseFolderOptions HTTP/1.1
Host: connectoreastsftest.sharefileconnect.com
Connection: keep-alive
Content-Length: 2
Accept: application/json, text/plain, */*
Origin: https://connectors3.sharefiletest.com
X-SF-App: ShareFileWeb
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
X-HTTP-Method-Override: GET
Content-Type: application/json
Referer: https://connectors3.sharefiletest.com/app/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8,hi;q=0.6
Cookie: DbxConnector_AuthId=477b3691becf491d9139fdeae81f4104
{}And response:
HTTP/1.1 504 GATEWAY_TIMEOUT Content-Length: 0 Connection: keep-alive
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!