Rate limit error (code:429) for Bitbucket feature in workspaces with submodules or a lot of repos

Issue #188 open
Rimantas Žičkus created an issue

When creating pull request, I often get this error:

Something went wrong
code:429

error:"Rate limit for this resource has been exceeded"

I have repositories containing tens of submodules. Could it be that extension also queries all repositories of submodules and that is why it exceeds the API limits so often?

Version 1.4.3.

Version: 1.38.0 (user setup)
Commit: 3db7e09f3b61f915d03bbfa58e258d6eee843f35
Date: 2019-09-03T21:49:13.459Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362

Comments (11)

  1. Joe Mesot

    I just installed the VSCode Extension (v2.1.5) today.

    I went to use it for the first time to create a PR, and all I get is this error as well.

    I have no submodules in any of my projects, but all of my projects are loaded into VSCode from a single root folder (a mapped network drive actually), so I have 50+ folders all with Bitbucket repos in them.

    VSCode info:

    Version: 1.40.1 (user setup)
    Commit: 8795a9889db74563ddd43eb0a897a2384129a619
    Date: 2019-11-13T16:49:35.976Z
    Electron: 6.1.2
    Chrome: 76.0.3809.146
    Node.js: 12.4.0
    V8: 7.6.303.31-electron.0
    OS: Windows_NT x64 10.0.18363
    

  2. Nick Rundquist

    We’ve reduced the number of Bitbucket calls we’re making in version 2.3.0 so this should be happening in fewer instances. We still have another change we’re looking to make to further reduce the number of calls.

  3. Mahdi Mehdi Account Deactivated

    Any updates on this? I am having the same issue after creating a couple of PRs using the extension on VS Code.

    Version: 1.58.2
    Commit: c3f126316369cd610563c75b1b1725e0679adfb3
    Date: 2021-07-14T22:09:06.581Z (1 wk ago)
    Electron: 12.0.13
    Chrome: 89.0.4389.128
    Node.js: 14.16.0
    V8: 8.9.255.25-electron.0
    OS: Darwin x64 20.5.0
    

  4. Log in to comment