---
title: "Comment by Maty Grosz on \"How to Configure ElasticSearch/OpenSearch Alerts for Custom Webhook(on OpsGenie)\" | Hashnode"
description: "Hello I am following your steps, but still getting error code 500 'Could not authenticate' when executing 'Send test message' in OpenSearch (creating a new chan"
url: "https://hashnode.com/posts/how-to-configure-elasticsearchopensearch-alerts-for-custom-webhookon-opsgenie/6662e81f5b0062647d824a49/comment/672b7cf0b63d4a2a1b9b44b5"
---

[Discussion](https://hashnode.com/posts/how-to-configure-elasticsearchopensearch-alerts-for-custom-webhookon-opsgenie/6662e81f5b0062647d824a49)

Comment [How to Configure ElasticSearch/OpenSearch Alerts for Custom Webhook(on OpsGenie)](https://hashnode.com/posts/how-to-configure-elasticsearchopensearch-alerts-for-custom-webhookon-opsgenie/6662e81f5b0062647d824a49)

[Maty Grosz](https://hashnode.com/@mgrosz)

[Nov 6, 2024](https://hashnode.com/posts/how-to-configure-elasticsearchopensearch-alerts-for-custom-webhookon-opsgenie/6662e81f5b0062647d824a49/comment/672b7cf0b63d4a2a1b9b44b5)

Hello I am following your steps, but still getting error code 500 'Could not authenticate' when executing 'Send test message' in OpenSearch (creating a new channel to Opsgenie). Is the value of request Header 'Authorization' is 'GenieKey ${API token}' or just '${API token}'?
