Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

IP whitelisting - UI works but API fails

Hi All,

I am facing very weird issue with respect to IP whitelisting.

I have whitelisted my ip bitbucket cloud settings(workspace -> access control). Now, my bitbucket UI works fine however when I try to fetch any data with bitbucket cloud apis like -{workspace}/{repo}/pullrequests?state=DECLINED&pagelen=2 - API responds - {"type": "error", "error": {"message": "To access this repository, an admin must whitelist your IP."}}


Is this a known bug? Or am I missing something?

1 answer

0 votes

Hi Vishal,

  • Are you running these API calls from the same machine where you access Bitbucket from browser?
  • Are you running the API calls from terminal with curl, or are you using an API client?

If you are using curl to run API calls from a terminal application, I would suggest running


and seeing what IP this command returns.

If you're using an API client, you can run a GET request to and check what IP this call returns.

Is the IP you get the same one you whitelisted and do you see it listed in{your-workspace-id}/workspace/settings/access-controls

(replace {your-workspace-id} with the id of your workspace)

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events