Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

listFolderLongpoll().changes return true when changes in any folder, not in specified folder

Open
#324 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java, kotlin
Domain
api

Research direction

Start with the listFolderBuilder(path) and listFolderLongpoll(cursor, 30) entry points, then check the Dropbox API contract for the cursor's scope. Reproduce the behavior with changes in separate folders and determine whether changes should be path-scoped or account-wide. Done means the behavior is corrected or the documented limitation is made explicit, with coverage for the observed case.

Written by the indexing model from the issue text.

Description

fun getDir(path: String) {
     var result = client.files().listFolderBuilder(path)
            .withLimit(500)
            .withIncludeDeleted(true)
            .withRecursive(false)
            .start()
        while (true) {
            if (!result.hasMore) {
                startLongPoll(result.cursor)
                break
            }
            result = client.files().listFolderContinue(cursor)
        }
}

fun startLongPoll(cursor: String) {
     client.files().listFolderLongpoll(cursor, 30).changes // returns true if any changes in account, not in path specified with listFolderBuilder(path)
}
Dominant language
Java
Stars
627
Forks
463
Avg merge
5m
Merged PRs (30d)
10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dropbox/dropbox-sdk-java

All issues in dropbox/dropbox-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.