Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-11315

Rest API returns error when trying to read a folder with 150+ files (BB-12989)

    XMLWordPrintable

    Details

      Description

      I am using the REST api (version 1) get the list of files that exists at a certain folder in my repository.
      It is working fine when trying to access a folder that does not contain a large number of files, but when trying to access a folder containing more than 150 files (this limit might be smaller as i have not been able to check the exact number) I get an "Internal server error".

      Url used: "https://bitbucket.org/api/1.0/repositories/

      {accountname}

      /

      {repo_slug}

      /src/

      {revision}

      /

      {path}

      "

      Navigating via the website works fine. It is just the REST Api that is showing the error.

      Is there any way i can access such a folder?

        Attachments

          Activity

            People

            Assignee:
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Reporter:
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: