Hi @Ragindev,
Did you try continue listing using 2/files/list_folder/continue? 🤔 If not, give it a try. 😉
Hope this helps.
@Ragindev As Здравко noted, make sure you implement both /2/files/list_folder and /2/files/list_folder/continue. You're not guaranteed to get everything back in one call. Check out the linked documentation for more information.
Also, if you're using a team account, note that the team may have recently switched to the "team space" configuration. By default, API calls operate in the "member folder" of the connected account, not the "team space", so you wouldn't see anything in the team space when using the API by default. You can configure API calls to operate in the "team space" instead though. To do so, you'll need to set the "Dropbox-Api-Path-Root" header. You can find information on this in the Team Files Guide.