# No id why I cannot access key "id"

**URL:** <https://discuss.elastic.co/t/no-id-why-i-cannot-access-key-id/381639>\
**Category:** Elasticsearch\
**Created:** [September 5, 2025, 12:33pm UTC](https://discuss.elastic.co/t/no-id-why-i-cannot-access-key-id/381639 "2025-09-05T12:33:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salvatore\_Milano](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@Salvatore\_Milano](https://discuss.elastic.co/u/Salvatore_Milano)\
**Post date:** [September 5, 2025, 12:33pm UTC](https://discuss.elastic.co/t/no-id-why-i-cannot-access-key-id/381639/1 "2025-09-05T12:33:23Z")

</div>

Hello,  
sometimes it seems that Elasticsearch is not running as it should so I have tried to debug it using kibana.

I cannot access the key “id” via:

```auto
GET /trend_meta/_search  
{     
    "query": {         
        "constant_score": {             
            "filter": {                 
                "term": {                     
                    "id": "trend9d27baa7-7dbe-4448-891a-814cab9e805f"                          
                }             
            }         
        }     
    }
}

```

the same request using an underline for the key “id”

```auto
"_id": "trend9d27baa7-7dbe-4448-891a-814cab9e805f"

```

gives me the following result:

```auto
{
"took": 1,
"timed_out": false,
"_shards": {
    "total": 1,
    "successful": 1,
    "skipped": 0,
    "failed": 0
    },
"hits": {
    "total": {
        "value": 1,
        "relation": "eq"
        },
    "max_score": 1,
    "hits": [
        {
        "_index": "trend_meta",
        "_id": "trend9d27baa7-7dbe-4448-891a-814cab9e805f",
        "_score": 1,
        "_source": {
            "id": "trend9d27baa7-7dbe-4448-891a-814cab9e805f",
            "liveTime": 60,
                }
            }
        ]
    }
}

```

Why is it, that I cannot get a response for “id” but for “\_id”? Has anyone dealt with such a problem before and is there a way to solve this issue?

Thank you for your help.

Many greetings,

Salvatore

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 5, 2025, 1:03pm UTC](https://discuss.elastic.co/t/no-id-why-i-cannot-access-key-id/381639/2 "2025-09-05T13:03:31Z")

</div>

Sounds like a duplicate of [Elasticsearch cannot access keys although they are available](https://discuss.elastic.co/t/elasticsearch-cannot-access-keys-although-they-are-available/381476)

Let's keep the discussion there.
