JIRA->HipChat Authorization, 'Unable to generate an authorization code: Error sending request: 400'

When a user tries to create a room from our local JIRA instance to the cloud HipChat we are using, they are asked to confirm account access. (We host our JIRA and use web HipChat)

The dialog starts like this:

JIRA (local server) will be given limited access to your HipChat (web) group... then has a blue button "Grant access to JIRA.

After the user clicks the blue button they get the error in the title.  I can't figure out what rights I need to grant to make this work (as a site admin it works for me).  I have tried making the user an admin in HipChat, an admin in JIRA, I have double checked all JIRA permissions.  I am stumped.

Does anyone know what I need to do to make this work?

 

Thanks!

3 answers

This widget could not be displayed.

It turned out to be fairly simple. One of the Atlassian engineers finally pointed us in the right direction. When the HipChat integration to JIRA was created, I had navigated to the ../plugins/servelet/hipchat/configure page using the fully qualified name of the JIRA server which was not the base url as defined in the JIRA application. Apparently this causes a problem with the authentication. I navigated to the page using the base URL removed the integration and recreated the integration. After that all was good. I hope this works for you.

Hi Scott,

We are also facing the same problem.Could you please share the detailed steps for resolving this error.

Appriciate your help!

Awaiting for your reply.

Thanks,

Suchit Kharatmol

Login to JIRA. Select Administration->Applications->HipChat. The page should be <base url>/plugins/servlet/hipchat/configure. Verify that the <base url> in the link matches the Base URL defined in the JIRA system settings. If it matches remove and recreate the HipChat integration.

Hi Scott,

Thank you so much for your help! It is worked for me as expected.

Thanks,

Suchit Kharatmol

This widget could not be displayed.

We have the same problem. Did you by any chance resolve it, and could you share the solution?

Thanks!

This widget could not be displayed.

That was indeed the problem. 

Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

72 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you