# Issue with the contact elements(server) connection with Hivemq shows error backend answered non-2xx status code:401

**URL:** <https://community.hivemq.com/t/issue-with-the-contact-elements-server-connection-with-hivemq-shows-error-backend-answered-non-2xx-status-code-401/1787>\
**Category:** Uncategorized\
**Created:** [January 27, 2023, 11:35am UTC](https://community.hivemq.com/t/issue-with-the-contact-elements-server-connection-with-hivemq-shows-error-backend-answered-non-2xx-status-code-401/1787 "2023-01-27T11:35:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnjuMankar](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@AnjuMankar](https://community.hivemq.com/u/AnjuMankar)\
**Post date:** [January 27, 2023, 11:35am UTC](https://community.hivemq.com/t/issue-with-the-contact-elements-server-connection-with-hivemq-shows-error-backend-answered-non-2xx-status-code-401/1787/1 "2023-01-27T11:35:36Z")

</div>

We have used Hivemq version: 2021.3 and Java Version 19.0.2,We want to connect Hivemq with contact elements(server) but once we start connection with Hivemq it shows error message as Internal error while ‘d9Tzbb5f@system’ tried to log in: elements backend answered with non-2xx status code:401

 ![MicrosoftTeams-image (1)](https://canada1.discourse-cdn.com/flex035/uploads/hivemq1/original/1X/1cb44dcfa17ba6c95d14f51e0a67df4ae204ce09.png)

---

<div class="post-metadata">

**Author:** ![hivemq-support](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/hivemq-support/32/357_2.png) [@hivemq-support](https://community.hivemq.com/u/hivemq-support)\
**Post date:** [January 27, 2023, 5:12pm UTC](https://community.hivemq.com/t/issue-with-the-contact-elements-server-connection-with-hivemq-shows-error-backend-answered-non-2xx-status-code-401/1787/2 "2023-01-27T17:12:04Z")

</div>

Hi Anju Mankar,

I’m not familiar with the extension mentioned in your console screenshot - is this a custom extension? Can you outline what it is doing? (Is it making the HiveMQ broker act as a client to your Contact Elements server for example?)

My immediate reaction to seeing the “Elements backend answered” error is those codes look like http error codes. If that is true, a 401 should be an unauthorized response being sent back by the server.  
​  
If my above assumptions about the extension are correct, can you double-check any configuration used by the extension that could cause Contact Elements to return an authorization error?  
​

​Thanks,  
Seth - HiveMQ Support
