Unable to insert emoticons

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

When trying to insert an emoticon in a page, you see the following error: 


Oh dear, it seems we had some trouble loading your emoticons. Please click the button below to try loading them again.



The following appears in the atlassian-confluence.log

2017-03-17 12:10:23,381 WARN [hipchat-client:thread-4] [plugins.hipchat.token.DefaultHipChatTokenRefreshService] apply Token with name [AddonToken(2)] refresh failed with status code [401]. Error message [Authenticated requests only. See https://www.hipchat.com/docs/apiv2/auth for more information.]. Turn on debug mode to see stack trace.
 -- referer: http://localhost:8090/pages/viewpage.action?pageId=44435636 | url: /rest/emoticons/1.0/ | userName: user
2017-03-17 12:10:23,382 ERROR [http-nio-8090-exec-4] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.atlassian.hipchat.api.ErrorResponseException: Authenticated requests only. See https://www.hipchat.com/docs/apiv2/auth for more information.
 -- referer: http://localhost:8090/pages/editpage.action?pageId=47710549 | url: /rest/emoticons/1.0/ | userName: faruk
com.google.common.util.concurrent.UncheckedExecutionException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.atlassian.hipchat.api.ErrorResponseException: Authenticated requests only. See https://www.hipchat.com/docs/apiv2/auth for more information.
    at com.google.common.cache.LocalCache$LocalManualCache.getUnchecked(LocalCache.java:4841)

Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.atlassian.hipchat.api.ErrorResponseException: Authenticated requests only. See https://www.hipchat.com/docs/apiv2/auth for more information.
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    ... 271 more
Caused by: java.lang.RuntimeException: com.atlassian.hipchat.api.ErrorResponseException: Authenticated requests only. See https://www.hipchat.com/docs/apiv2/auth for more information.
    at com.atlassian.util.concurrent.Promises$Of.claim(Promises.java:207)
    ... 1 more
Caused by: com.atlassian.hipchat.api.ErrorResponseException: Authenticated requests only. See https://www.hipchat.com/docs/apiv2/auth for more information.
    at com.atlassian.hipchat.api.ResourceError$1.apply(ResourceError.java:74)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    ... 4 more

Diagnosis

Environment

  • Confluence server connected to HipChat 

Cause

Broken link between Confluence and HipChat.

Resolution

  1. Rebuild the HipChat integration by following steps in 2022-11-29_04-37-15_Use Hipchat and Confluence together
  2. Clear plugins cache steps are in How to clear Confluence plugins cache.

Note: Latest Confluence version doesn't require a Hipchat as this is already deprecated. 


Last modified on Feb 13, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.