java.lang.Exception: Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" }

Atlassian JIRA | Benito Picarelli | 2 years ago
  1. 0

    h3. Summary After installing the HipChat plugin from Marketplace and trying to configure the integration, there is an error that stops the installation of the plugin to complete. h3. Steps to Reproduce # Install JIRA # Install the latest HipChat plugin # Go to {{Administration > System > Hip Chat integration}} and hit Connect (to automatically link to your Cloud instance of HipChat) h3. Expected Results # The installation finishes successfully. h3. Actual Results # The interface of your Cloud instance appears with an option to Install the left components # An error pops asking you to re-install the plugin # The following appears on the logs: {noformat} 2015-03-31 15:04:36,389 http-bio-8080-exec-5 WARN lester.crawford 904x74444x1 i771jt 10.86.148.113,127.0.0.1 /rest/hipchat/integration/latest/installation/complete [plugins.hipchat.rest.HipChatLinkResource] Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" } java.lang.Exception: Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" } at com.atlassian.hipchat.api.DefaultClientResponseMapper.makeResourceError(DefaultClientResponseMapper.java:109) at com.atlassian.hipchat.api.DefaultClientResponseMapper.access$100(DefaultClientResponseMapper.java:22) at com.atlassian.hipchat.api.DefaultClientResponseMapper$1.apply(DefaultClientResponseMapper.java:32) at com.atlassian.hipchat.api.DefaultClientResponseMapper$1.apply(DefaultClientResponseMapper.java:28) at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:205) at com.google.common.util.concurrent.Futures$4.apply(Futures.java:477) at com.google.common.util.concurrent.Futures$4.apply(Futures.java:475) at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:826) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:146) at com.google.common.util.concurrent.AbstractFuture.done(AbstractFuture.java:235) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:172) at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53) at com.atlassian.hipchat.api.ResourceMapper$9.onComplete(ResourceMapper.java:152) at com.sun.jersey.api.client.AsyncWebResource$3.done(AsyncWebResource.java:746) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380) at java.util.concurrent.FutureTask.set(FutureTask.java:229) at com.sun.jersey.client.impl.async.FutureClientResponseListener.onComplete(FutureClientResponseListener.java:107) at com.sun.jersey.api.client.AsyncWebResource$6.done(AsyncWebResource.java:804) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380) at java.util.concurrent.FutureTask.set(FutureTask.java:229) at java.util.concurrent.FutureTask.run(FutureTask.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} h3. Workaround 1) go to HipChat Integration page in JIRA, and Remove the integration . Don't worry that all your mappings to projects and rooms are not deleted 2) go to https://hipchat.com/admin/addons 3) There shouldn't be any JIRA's plugin. If there is, just Uninstall it. 4) With both environments clean (with no JIRA addon installed in HC) you can do the installation again, and things should work

    Atlassian JIRA | 2 years ago | Benito Picarelli [Atlassian]
    java.lang.Exception: Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" }
  2. 0

    h3. Summary After installing the HipChat plugin from Marketplace and trying to configure the integration, there is an error that stops the installation of the plugin to complete. h3. Steps to Reproduce # Install JIRA # Install the latest HipChat plugin # Go to {{Administration > System > Hip Chat integration}} and hit Connect (to automatically link to your Cloud instance of HipChat) h3. Expected Results # The installation finishes successfully. h3. Actual Results # The interface of your Cloud instance appears with an option to Install the left components # An error pops asking you to re-install the plugin # The following appears on the logs: {noformat} 2015-03-31 15:04:36,389 http-bio-8080-exec-5 WARN lester.crawford 904x74444x1 i771jt 10.86.148.113,127.0.0.1 /rest/hipchat/integration/latest/installation/complete [plugins.hipchat.rest.HipChatLinkResource] Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" } java.lang.Exception: Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" } at com.atlassian.hipchat.api.DefaultClientResponseMapper.makeResourceError(DefaultClientResponseMapper.java:109) at com.atlassian.hipchat.api.DefaultClientResponseMapper.access$100(DefaultClientResponseMapper.java:22) at com.atlassian.hipchat.api.DefaultClientResponseMapper$1.apply(DefaultClientResponseMapper.java:32) at com.atlassian.hipchat.api.DefaultClientResponseMapper$1.apply(DefaultClientResponseMapper.java:28) at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:205) at com.google.common.util.concurrent.Futures$4.apply(Futures.java:477) at com.google.common.util.concurrent.Futures$4.apply(Futures.java:475) at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:826) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:146) at com.google.common.util.concurrent.AbstractFuture.done(AbstractFuture.java:235) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:172) at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53) at com.atlassian.hipchat.api.ResourceMapper$9.onComplete(ResourceMapper.java:152) at com.sun.jersey.api.client.AsyncWebResource$3.done(AsyncWebResource.java:746) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380) at java.util.concurrent.FutureTask.set(FutureTask.java:229) at com.sun.jersey.client.impl.async.FutureClientResponseListener.onComplete(FutureClientResponseListener.java:107) at com.sun.jersey.api.client.AsyncWebResource$6.done(AsyncWebResource.java:804) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380) at java.util.concurrent.FutureTask.set(FutureTask.java:229) at java.util.concurrent.FutureTask.run(FutureTask.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} h3. Workaround 1) go to HipChat Integration page in JIRA, and Remove the integration . Don't worry that all your mappings to projects and rooms are not deleted 2) go to https://hipchat.com/admin/addons 3) There shouldn't be any JIRA's plugin. If there is, just Uninstall it. 4) With both environments clean (with no JIRA addon installed in HC) you can do the installation again, and things should work

    Atlassian JIRA | 2 years ago | Benito Picarelli
    java.lang.Exception: Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" }
  3. 0

    h3. Summary After installing the HipChat plugin from Marketplace and trying to configure the integration, there is an error that stops the installation of the plugin to complete. h3. Steps to Reproduce # Install JIRA # Install the latest HipChat plugin # Go to {{Administration > System > Hip Chat integration}} and hit Connect (to automatically link to your Cloud instance of HipChat) h3. Expected Results # The installation finishes successfully. h3. Actual Results # The interface of your Cloud instance appears with an option to Install the left components # An error pops asking you to re-install the plugin # The following appears on the logs: {noformat} 2015-03-31 15:04:36,389 http-bio-8080-exec-5 WARN lester.crawford 904x74444x1 i771jt 10.86.148.113,127.0.0.1 /rest/hipchat/integration/latest/installation/complete [plugins.hipchat.rest.HipChatLinkResource] Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" } java.lang.Exception: Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" } at com.atlassian.hipchat.api.DefaultClientResponseMapper.makeResourceError(DefaultClientResponseMapper.java:109) at com.atlassian.hipchat.api.DefaultClientResponseMapper.access$100(DefaultClientResponseMapper.java:22) at com.atlassian.hipchat.api.DefaultClientResponseMapper$1.apply(DefaultClientResponseMapper.java:32) at com.atlassian.hipchat.api.DefaultClientResponseMapper$1.apply(DefaultClientResponseMapper.java:28) at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:205) at com.google.common.util.concurrent.Futures$4.apply(Futures.java:477) at com.google.common.util.concurrent.Futures$4.apply(Futures.java:475) at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:826) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:146) at com.google.common.util.concurrent.AbstractFuture.done(AbstractFuture.java:235) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:172) at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53) at com.atlassian.hipchat.api.ResourceMapper$9.onComplete(ResourceMapper.java:152) at com.sun.jersey.api.client.AsyncWebResource$3.done(AsyncWebResource.java:746) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380) at java.util.concurrent.FutureTask.set(FutureTask.java:229) at com.sun.jersey.client.impl.async.FutureClientResponseListener.onComplete(FutureClientResponseListener.java:107) at com.sun.jersey.api.client.AsyncWebResource$6.done(AsyncWebResource.java:804) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380) at java.util.concurrent.FutureTask.set(FutureTask.java:229) at java.util.concurrent.FutureTask.run(FutureTask.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {noformat} h3. Workaround 1) go to HipChat Integration page in JIRA, and Remove the integration . Don't worry that all your mappings to projects and rooms are not deleted 2) go to https://hipchat.com/admin/addons 3) There shouldn't be any JIRA's plugin. If there is, just Uninstall it. 4) With both environments clean (with no JIRA addon installed in HC) you can do the installation again, and things should work

    Atlassian JIRA | 2 years ago | Benito Picarelli
    java.lang.Exception: Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" }
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    package program;import com.memetix.mst.language.Language; - imp... - Yahoo!知恵袋

    co.jp | 8 months ago
    java.lang.Exception: [microsoft-translator-api] Error retrieving translation : Server returned HTTP response code: 400 for URL:
  6. 0

    microsoft-translator-api- Error retrieving translation: status code 400 in Java

    Stack Overflow | 3 years ago | Roxana
    java.lang.Exception: [microsoft-translator-api] Error retrieving translation : Server returned HTTP response code: 400 for URL: https://datamarket.accesscontrol.windows.net/v2/OAuth2-13

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Exception

      Error converting response to [com.atlassian.hipchat.api.session.GenerateTokenResult] (status code 400): { "error": "invalid_scope", "error_description": "Requested scopes are not allowed for this client" }

      at com.atlassian.hipchat.api.DefaultClientResponseMapper.makeResourceError()
    2. com.atlassian.hipchat
      DefaultClientResponseMapper$1.apply
      1. com.atlassian.hipchat.api.DefaultClientResponseMapper.makeResourceError(DefaultClientResponseMapper.java:109)
      2. com.atlassian.hipchat.api.DefaultClientResponseMapper.access$100(DefaultClientResponseMapper.java:22)
      3. com.atlassian.hipchat.api.DefaultClientResponseMapper$1.apply(DefaultClientResponseMapper.java:32)
      4. com.atlassian.hipchat.api.DefaultClientResponseMapper$1.apply(DefaultClientResponseMapper.java:28)
      4 frames
    3. Guava
      SettableFuture.set
      1. com.google.common.base.Functions$FunctionComposition.apply(Functions.java:205)
      2. com.google.common.util.concurrent.Futures$4.apply(Futures.java:477)
      3. com.google.common.util.concurrent.Futures$4.apply(Futures.java:475)
      4. com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:826)
      5. com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)
      6. com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161)
      7. com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:146)
      8. com.google.common.util.concurrent.AbstractFuture.done(AbstractFuture.java:235)
      9. com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:172)
      10. com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
      10 frames
    4. com.atlassian.hipchat
      ResourceMapper$9.onComplete
      1. com.atlassian.hipchat.api.ResourceMapper$9.onComplete(ResourceMapper.java:152)
      1 frame
    5. jersey-client
      AsyncWebResource$3.done
      1. com.sun.jersey.api.client.AsyncWebResource$3.done(AsyncWebResource.java:746)
      1 frame
    6. Java RT
      FutureTask.set
      1. java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380)
      2. java.util.concurrent.FutureTask.set(FutureTask.java:229)
      2 frames
    7. jersey-client
      AsyncWebResource$6.done
      1. com.sun.jersey.client.impl.async.FutureClientResponseListener.onComplete(FutureClientResponseListener.java:107)
      2. com.sun.jersey.api.client.AsyncWebResource$6.done(AsyncWebResource.java:804)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:380)
      2. java.util.concurrent.FutureTask.set(FutureTask.java:229)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:270)
      4. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      5. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      8. java.lang.Thread.run(Thread.java:745)
      8 frames