Good day,
I'am working on a project where we interact with Bitbucket api's.
The goal is to be able to download repositories in a zip format.
The end point fetched is the following: "https://api.bitbucket.org/2.0/repositories/workspaceName/repositoryName/downloads/main.zip"
I can reach the end point, but I get a 402 status code with the following message: "A workspace on a Free plan does not support uploading or downloading files. Upgrade to a Standard or Premium plan: https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/#Change-your-plan".
Can you confirm me that this action is not possible with a free plan ? And if it is the case, what would be the price ?
Thank you for the help,
Best regard,
Cédric S
Hi @cedric
Well I think the error confirms the limitation. I can not find this on the plan comparison page though.
I'm getting the same error as you on the free plan when making a request to https://api.bitbucket.org/2.0/repositories/<ws>/<repo>/downloads
Princing infomation is available at Bitbucket Pricing: Find the Right Plan for You | Atlassian
Yes, the 402 message is related to the workspace plan, not necessarily your API call. The Downloads endpoint isn’t available on the Free plan. If you just need the repository files as a ZIP, it may be worth checking the repository source/download options instead of using the Downloads API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.