Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

error message when i try to install bit bucket app by descriptor URL

i'm developing a bitbucket app

i followed the documentaion and i created the the quick add on app
but i can't install it.

it keeps showing me err message whenever i try to install it saying 
Screenshot from 2020-01-22 12-20-05.pngScreenshot from 2020-01-22 12-20-50.png`invalid request. Please contact the app vendor for help.`

any idea how can i solve this issue

1 answer

1 accepted

0 votes
Answer accepted

Hello @hameedZ

Welcome to the Community!

Your tunnel is now down, so I can't check myself. Make sure that the URL you use in that form points to the Connect JSON descriptor. Ngrok logs on your side might also shed some light on what's wrong: it should show request path and response code.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

i changed the tunnel 

and i'm sure the URL redirects to the connect JSON

i will leave the result of fetching the descriptor URL

Screenshot from 2020-01-23 10-28-19.png

Hey @hameedZ, I found what is wrong.

So unfortunately Apps installation from URL flow is broken at the moment, and our team is looking into fixing it. Meanwhile you can use a workaround to install your app.

When logged into Bitbucket, go to the following URL:

https://bitbucket.org/site/addons/authorize?addon_key={app-key}&redirect_uri={base-url-of-your-app-from-descriptor}

So in your case it will be this (I'm using ngrok URL from the screenshot but obviously you'll need to adjust it):

https://bitbucket.org/site/addons/authorize?addon_key=hameed-bitbucket-app2&redirect_uri=https://063a38b8.ngrok.io

Note that the redirect_uri has to match base_url in your App descriptor (make sure to update your App in Bitbucket settings after you update its descriptor file).

When you navigate to that URL you'll see the grant access screen. After that you'll be redirected to your App base URL which can serve nothing, but if you then go to your account settings, you should see that App installed.

If it's not there, check your ngrok access log – there's probably an error when calling installed callback.

Hope this helps. I'm really sorry for the inconvenience. Let me know if you have any questions.

Cheers,
Daniil

Like yorlov likes this

Is Apps installation from URL fixed yet? I'm seeing the same error message when trying to install an app from URL (validated that the url points to the Connect JSON descriptor).

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

480 views 5 4
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