# Get-history: Request failed with status code 400 when using Entity ID INCLUDE not IS

**URL:** <https://discourse.nodered.org/t/get-history-request-failed-with-status-code-400-when-using-entity-id-include-not-is/78254>\
**Category:** General\
**Tags:** node-red-dashboard, home-assistant\
**Created:** [7 May 2023 22:52 UTC](https://discourse.nodered.org/t/get-history-request-failed-with-status-code-400-when-using-entity-id-include-not-is/78254 "2023-05-07T22:52:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvinchen](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@alvinchen](https://discourse.nodered.org/u/alvinchen)\
**Post date:** [7 May 2023 22:52 UTC](https://discourse.nodered.org/t/get-history-request-failed-with-status-code-400-when-using-entity-id-include-not-is/78254/1 "2023-05-07T22:52:04Z")

</div>

Hello, using Node-Red

* * *

## Add-on: Node-RED Flow-based programming for the Internet of Things

## Add-on version: 14.1.5 You are running the latest version of this add-on. System: Home Assistant OS 10.1 (amd64 / generic-x86-64) Home Assistant Core: 2023.5.2 Home Assistant Supervisor: 2023.04.1

## Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

With Home Assistant Core 2023.5.2, the get history node using Entity ID INCLUDE has started returning "Request failed with status code 400"

I have used INCLUDE "binary\_sensor._\_sensor\_motion_" as well as "device\_tracker." which worked before 2023.5.2. Also Entity ID IS seems to work with no problem, just the INCLUDE.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [8 May 2023 06:17 UTC](https://discourse.nodered.org/t/get-history-request-failed-with-status-code-400-when-using-entity-id-include-not-is/78254/2 "2023-05-08T06:17:38Z")

</div>

Since this appears to be a HA related question, and very few here use HA you may be better asking on an HA forum.

---

<div class="post-metadata">

**Author:** ![alvinchen](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@alvinchen](https://discourse.nodered.org/u/alvinchen)\
**Post date:** [8 May 2023 10:08 UTC](https://discourse.nodered.org/t/get-history-request-failed-with-status-code-400-when-using-entity-id-include-not-is/78254/3 "2023-05-08T10:08:42Z")

</div>

Thank you for the response!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 July 2023 10:08 UTC](https://discourse.nodered.org/t/get-history-request-failed-with-status-code-400-when-using-entity-id-include-not-is/78254/4 "2023-07-07T10:08:45Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
