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

When there is a timeout error with v1 API, return a more useful response to the user

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Branches endpoint of API v1 sometimes time outs for repos with a very large number of branches and returns a 500 or 502 error.

      It would be more useful to the user to get a JSON response with an explanation for the error, e.g.:
      "Timeout, the request has taken longer than X seconds before sending any
      data back, this could be because you have too many branches"

      Attachments

        Activity

          People

            Unassigned Unassigned
            tboudale Theodora Boudale
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: