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

What schema does Marketplace validate against for Bitbucket Cloud app submissions?

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": [


These scopes seem to be valid according to 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.

1 answer

1 accepted

1 vote
Answer accepted

The root cause of this issue was:


  • My "modules" section in my descriptor contained "adminPage" rather than "adminPages"
  • This caused the validation to not be able to detect my app as a Bitbucket app, it defaulted to Jira.
  • The scopes error was then a result of it trying to validate it as a Jira app


The schema that the Marketplace seems to validate against for Bitbucket is

Thank you! You saved my time 🙂 

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events