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
`invalid request. Please contact the app vendor for help.`
any idea how can i solve this issue
Hello @hameed0Z
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
Hey @hameed0Z, 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
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.