Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket not allow manage groups in Bitbucket using the groups API 1.0 anymore?

Tran Tien dung
Contributor
July 31, 2019

Hi everyone,

I have a script which using the group API, last week it still worked well, but now I got an error:   

{"type": "error", "error": {"message": "No workspace with identifier 'bitbu-prod'."}}

Here is the command:

$test2 = curl.exe --silent -X GET -H "Cache-Control: no-cache" "https://api.bitbucket.org/1.0/groups/$teamaccount/?access_token=$newaccesstoken2" | ConvertFrom-Json
echo $test2

From my site, I did not change anything, also I did not find deprecation notice relate to group API in Bitbucket

Any idea of what might be causing this?

2 answers

0 votes
Tran Tien dung
Contributor
August 1, 2019

I think there is something wrong with my workspace id, I can access another workspace with group endpoint api, thus I will contact Atlassian support.

0 votes
Patrick Wolf - Atlassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 31, 2019

Hi, Tran.

The `groups` endpoint is still allowed in the V1 API. The error you are receiving is a specific error because that resource is not found. Are you sure that the 'bitbu-prod' account exists on Bitbucket? What happens if you navigate to https://bitbucket.org/bitbu-prod/ ?

Thanks,

Patrick

Tran Tien dung
Contributor
July 31, 2019 edited

Hi Patrick,

Yes, the team account still exists on Bitbucket, I can access to the given url: https://bitbucket.org/{workspace-id}

Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, AI, meeting recording, community

[NEW] Record your meetings with Loom

Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.

Learn more
AUG Leaders

Atlassian Community Events