You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm not able to submit a new Bitbucket Cloud app to the Atlassian Marketplace as it fails to validate my JSON descriptor - it complains about the following scopes:
"scopes": [
"account",
"team",
"repository:write",
"pullrequest:write"
]
These scopes seem to be valid according to https://developer.atlassian.com/cloud/bitbucket/bitbucket-cloud-rest-api-scopes/ and the app tests out fine when I install it in my own account.
Full error message:
The .json descriptor provided is invalid (/scopes/0: instance value ("account") not found in enum (possible values: ["none","NONE","read","READ","write","WRITE","delete","DELETE","project_admin","PROJECT_ADMIN","space_admin","SPACE_ADMIN","admin","ADMIN","act_as_user","ACT_AS_USER","access_email_addresses","ACCESS_EMAIL_ADDRESSES"]), /scopes/1: instance value ("team") not found in enum (possible values: ["none","NONE","read","READ","write","WRITE","delete","DELETE","project_admin","PROJECT_ADMIN","space_admin","SPACE_ADMIN","admin","ADMIN","act_as_user","ACT_AS_USER","access_email_addresses","ACCESS_EMAIL_ADDRESSES"]), /scopes/2: instance value ("repository:write") not found in enum (possible values: ["none","NONE","read","READ","write","WRITE","delete","DELETE","project_admin","PROJECT_ADMIN","space_admin","SPACE_ADMIN","admin","ADMIN","act_as_user","ACT_AS_USER","access_email_addresses","ACCESS_EMAIL_ADDRESSES"]), /scopes/3: instance value ("pullrequest:write") not found in enum (possible values: ["none","NONE","read","READ","write","WRITE","delete","DELETE","project_admin","PROJECT_ADMIN","space_admin","SPACE_ADMIN","admin","ADMIN","act_as_user","ACT_AS_USER","access_email_addresses","ACCESS_EMAIL_ADDRESSES"])). Check your descriptor and try again.
The root cause of this issue was:
The schema that the Marketplace seems to validate against for Bitbucket is https://api.bitbucket.org/connect.json
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.