# Error 'Test failed to run' with AI Assistant using OpenRouter Integration

**URL:** <https://discuss.elastic.co/t/error-test-failed-to-run-with-ai-assistant-using-openrouter-integration/376961>\
**Category:** Kibana\
**Created:** [April 9, 2025, 2:02pm UTC](https://discuss.elastic.co/t/error-test-failed-to-run-with-ai-assistant-using-openrouter-integration/376961 "2025-04-09T14:02:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yago82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yago82/32/97755_2.png) [@yago82](https://discuss.elastic.co/u/yago82)\
**Post date:** [April 9, 2025, 2:02pm UTC](https://discuss.elastic.co/t/error-test-failed-to-run-with-ai-assistant-using-openrouter-integration/376961/1 "2025-04-09T14:02:31Z")

</div>

Hello,

I'm currently utilizing Elastic's AI Assistant with a trial license and have integrated OpenRouter as the AI provider. However, when entering the OpenRouter URL and the corresponding API Key, I encounter the following error:​

**Test failed to run**  
**The following error was found:**  
**an error occurred while running the action**  
**Details:**  
**Response validation failed (Error: could not parse object value from json input)**

Could this issue be related to licensing, considering I'm using a trial license with Elastic Stack version 8.17.4?

Thank you in advance for your assistance!
