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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to register example app in 'develop app' ->'create app'

Trying to develop a bitbucket app using atlas-connect. 

I am trying to follow instructions provided in 

https://developer.atlassian.com/cloud/bitbucket/getting-started/

I run into the below error when trying to register the example app to the "Create an app" form (Step 7)

Error:

{"type": "error", "error": {"message": "Something went wrong", "id": "25e5eae69f094a8bb3e409fc8084ce56"}}

Please find my atlassion-connect.json below

{"key": "example-app","name": "Example App","description": "An example app for Bitbucket","vendor": {"name": "Angry Nerds","url": "https://www.atlassian.com/angrynerds"},"baseUrl": "https://ngrok-url","authentication": {"type": "jwt"},"lifecycle": {"installed": "/installed","uninstalled": "/uninstalled"},"modules": {"webhooks": [{"event": "*","url": "/webhook"}],"webItems": [{"url": "http://example.com?repoPath={repository.full_name}","name": {"value": "Example Web Item"},"location": "org.bitbucket.repository.navigation","key": "example-web-item","params": {"auiIcon": "aui-iconfont-link"}}],"repoPages": [{"url": "/connect-example?repoPath={repository.full_name}","name": {"value": "Example Page"},"location": "org.bitbucket.repository.navigation","key": "example-repo-page","params": {"auiIcon": "aui-iconfont-doc"}}],"webPanels": [{"url": "/connect-example?repoPath={repository.full_name}","name": {"value": "Example Web Panel"},"location": "org.bitbucket.repository.overview.informationPanel","key": "example-web-panel"}]},"scopes": ["account","repository"],"contexts": ["account"]}

 

Image attached for the error. Capture.JPG

1 answer

1 accepted

2 votes
Answer accepted

Hello @Pratik_Somanagoudar ,

Welcome to the Community.

Not sure why the nice error description wasn't shown to you (will look into that), but what caused it is this:

URL https://ngrok-url is invalid

I guess you have invalid base URL in your descriptor.

Hope this helps.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,886 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you