Hi All,
I am currently experiencing a peculiar issue. I am retrieving and tracking the state of folders using files_list_folder, files_list_folder_continue and files_list_folder_longpoll. The process is as follows:
1) If a cursor does not exist - call files_list_folder to get the state of the folder
2) Loop over the entries, if the has_more flag is true, call files_list_folder_continue
3) Keep doing the above until the has_more flag is false,
4) Once the initial state is captured from the above steps, call files_list_folder_longpoll to listen for changes
This works across multiple folders. However, with a certain folder, the files_list_folder_continue prematurely flags has_more as false. It then goes into the longpoll loop and continuously breaks the poll, returning a folder metadata object with the initial folder path in the files_list_folder call. This loops continues.
The following has been checked:
- The same cursor is not being reused (new cursors are being generated)
- The problem can be reproduced in the python console
Is there any known issue that could cause this?