Unable to insert emoticons

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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

Summary

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.

(Auto-migrated image: description temporarily unavailable)

The following appears in the atlassian-confluence.log

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 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.

Solution

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 the apps (plugins) cache in Confluence Data Center.

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

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.