Forum Discussion

tim32's avatar
tim32
Explorer | Level 4
4 years ago

/list_folder BIG problem

Hello,

 

our app is calling six /list_folder endpoints every minute. The difference between them is in the path they refer to. They are all called at the same time. We are using recursive:true and /list_folder/continue to get all subfolders/files.


Last week the call for one of those paths started to return empty data (as if no files are inside of that path) but files and folders were definitely there. Has more returned as false. We found a workaround by calling a different path that also contained the path we are interested in.

 

A few days ago the same thing started to happen on another path! This time we found a workaround by setting recursive to false.

 

I already spoke with Dropbox support and api specialists but things are not moving forward. This is a critical issue on Dropbox side and I am surprised nobody is talking about it or solving it asap. Ticket #15115315.

 

We also tried to run the code on another machine which surprisingly returned the path.

 

I am scared when (not if) the rest of the paths will start to return empty and it will cause us to rewrite the whole code. Mind you there is no errors or anything like that in the return.

 

Please see the empty return bellow. I replaced sensitive data with ****. There are at least a 100 files/subfolders in that path that the return does not show.

 

"

{
status: 200,
headers: {
"cache-control": [Array],
"x-content-type-options": [Array],
"x-frame-options": [Array],
"x-server-response-time": [Array],
"content-type": [Array],
"accept-encoding": [Array],
date: [Array],
server: [Array],
"content-encoding": [Array],
vary: [Array],
"x-dropbox-response-origin": [Array],
"x-dropbox-request-id": [Array],
connection: [Array],
"transfer-encoding": [Array],
},
result: {
entries: [
{
".tag": "folder",
name: "1. Fresh orders",
path_lower: "******/1. fresh orders",
path_display: "******/1. Fresh orders",
parent_shared_folder_id: "*********",
id: "*********",
shared_folder_id: "*****",
sharing_info: {
read_only: false,
parent_shared_folder_id: "*****",
shared_folder_id: "******",
traverse_only: false,
no_access: false,
},
},
{
".tag": "folder",
name: "1. Fresh orders",
path_lower: "******/1. fresh orders",
path_display: "*******/1. Fresh orders",
parent_shared_folder_id: "*******",
id: "*********",
shared_folder_id: "*******",
sharing_info: {
read_only: false,
parent_shared_folder_id: "*****",
shared_folder_id: "******",
traverse_only: false,
no_access: false,
},
},
],
has_more: false,
},
}

"

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    I see you have an open support ticket regarding this issue. I don't have anything to add to that, but support will follow up with you there as soon as there's an update to share.

  • tim32's avatar
    tim32
    Explorer | Level 4

    Anybody else dealing with this issues and Dropbox support not solving it? How are you tackling it?