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

can't clone a repo that was created

    XMLWordPrintable

Details

    Description

      I hit this issue randomly. Right after creating a private repo using the following API:

      curl -X POST  -u "id:pwd" -H "Content-Type: application/json" https://api.bitbucket.org/2.0/repositories/id/<reponame> -d {"scm":"git","is_private":"true","fork_policy":"no_public_forks","description":""}
      

      try to clone it:

      git clone --depth 1 https://"id:pwd"@bitbucket.org/id/<reponame>.git .
      

      Error:

      remote: Not Found
      fatal: repository 'https://"id:pwd"@bitbucket.org/id/<reponame>.git/' not found

      It seems that even the repo was created successfully, the repo is not available for an API access. What is the delay ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            83bec11ccd1f vocareum2
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: