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

Pratik Somanagoudar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 28, 2020

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

2 answers

1 accepted

2 votes
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 28, 2020

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

0 votes
Konstantin Kabanov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 5, 2023

Like or dislike is another question. It is important to use testing here to make sure the quality of the brainchild that you have created. I think it will be great. if you try automated testing services . Listen. these guys fully justify their reputation. I think that they have so many finished projects behind them for a reason. They are good fellows from any side, from which you do not look. And life gets more interesting as you try.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events