Details
-
Bug
-
Resolution: Invalid
-
Medium
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 ?