# Could not pack/validate JSON response

**URL:** <https://discuss.elastic.co/t/could-not-pack-validate-json-response/382538>\
**Category:** Elasticsearch\
**Created:** [October 9, 2025, 6:08am UTC](https://discuss.elastic.co/t/could-not-pack-validate-json-response/382538 "2025-10-09T06:08:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahesh.hemke24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahesh.hemke24/32/144620_2.png) [@mahesh.hemke24](https://discuss.elastic.co/u/mahesh.hemke24)\
**Post date:** [October 9, 2025, 6:08am UTC](https://discuss.elastic.co/t/could-not-pack-validate-json-response/382538/1 "2025-10-09T06:08:28Z")

</div>

Hi Team,

Hope you are doing well..

I am getting below error in fluentbit.log for some indexes these logs/indexes are getting from application servers and we are managing this on our elasticsearch servers which consist of kibana,elasticsearch and fluentbit , can you please assist me with this.

Elasticsearch and Kibana version :- 8.19.4

Fluent bit version :- 3.2.10

Fleuntbit configuration e.g

```auto
[INPUT]
    alias forward_gather_all_logs
    buffer_max_size 4G
    listen 0.0.0.0
    name forward
    port 123
    storage.type filesystem
    threaded on
    tls on
    tls.crt_file /etc/elasticsearch/ssl/elasticsearch.crt
    tls.debug 4
    tls.key_file /etc/elasticsearch/ssl/elasticsearch.key
    tls.verify off
...
...
...
...
...
...

[OUTPUT]
    alias es_uat_sytems
    buffer_size 2048KB
    host 1.2.3.4
    http_passwd admin
    http_user admin
    logstash_format on
    logstash_prefix log-uat-system
    match uat.platform.***
    name es
    port 9200
    retry_limit no_limits
    storage.total_limit_size 512M
    suppress_type_name on
    tls on
    tls.verify off
    trace_error on

```

```auto
[2025/10/05 00:01:27] [warn] [engine] failed to flush chunk '1550332-1759302168.810621713.flb', retry in 7 seconds: task_id=164, input=storage_backlog.7 > output=es_uat_system (out_id=23)
[2025/10/05 00:01:34] [warn] [http_client] cannot increase buffer: current=2048000 requested=2080768 max=2048000
[2025/10/05 00:01:34] [error] [output:es:es_uat_system] could not pack/validate JSON response
{"errors":false,"took":400,"items":[{"create":{"_index":"log-uat-system-2025.09.25","_id":"_28-sZkBJSmdNVS4nBLW","_version":1,"result":"created","_shards":{"total":2,"successful":2,"failed":0},"_seq_no":9955965,"_primary_term":4,"status":201}},{"create":{"_index":"log-uat-system-2025.09.25","_id":"AG8-sZkBJSmdNVS4nBPW","_version":1,"result":"created","_shards":{"total":2,"successful":2,"failed":0},"_seq_no":9955966,"_primary_term":4,"status":201}},{"create":{"_index":"log-uat-system-2025.09.25","_id":"AW8-sZkBJSmdNVS4nBPW","_version":1,"result":"created","_shards":{"total":2,"successful":2,"failed":0},"_seq_no":9955967,"_primary_term":4,"status":201}},{"create":{"_index":"log-uat-system-2025.09.25","_id":"Am8-sZkBJSmdNVS4nBPW","_version":1,"result":"created","_shards":{"total":2,"successful":2,"failed":0},"_seq_no":9955968,"_primary_term":4,"status":201}},{"create":{"_index":"log-uat-system-2025.09.25","_id":"A28-sZkBJSmdNVS4nBPW","_version":1,"result":"created","_shards":{"total":2,"successful":2,"failed":0},"_seq_no":9955969,"_primary_term":4,"status":201}},{"create":{"_index":"log-uat-system-2025.09.25","_id":"BG8-sZkBJSmdNVS4nBPW","_version":1,"result":"created","_shards":{"total":2,"successful":2,"failed":0},"_seq_no":9955970,"_primary_term":4,"status":201}},{"create":{"_index":"log-uat-system-2025.09.25","_id":"BW8-sZkBJSmdNVS4nBPW","_version":1,"result":"created","_shards":{"total":2,"successful":2,"failed":0},"_seq_no":9955971,"_primary_term":4,"status":201}},

```

---

<div class="post-metadata">

**Author:** ![mahesh.hemke24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahesh.hemke24/32/144620_2.png) [@mahesh.hemke24](https://discuss.elastic.co/u/mahesh.hemke24)\
**Post date:** [October 27, 2025, 5:23am UTC](https://discuss.elastic.co/t/could-not-pack-validate-json-response/382538/2 "2025-10-27T05:23:18Z")

</div>

Hi Team,

Can anyone please reply on this

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 27, 2025, 6:43am UTC](https://discuss.elastic.co/t/could-not-pack-validate-json-response/382538/3 "2025-10-27T06:43:27Z")

</div>

I do not see any obvious issue with the response so this may be a Fluentbit issue, and Fluentbit is not supported here. You may therefore want to check with the Fluentbit community.

---

<div class="post-metadata">

**Author:** ![mahesh.hemke24](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahesh.hemke24/32/144620_2.png) [@mahesh.hemke24](https://discuss.elastic.co/u/mahesh.hemke24)\
**Post date:** [October 27, 2025, 7:19am UTC](https://discuss.elastic.co/t/could-not-pack-validate-json-response/382538/4 "2025-10-27T07:19:58Z")

</div>

Thanks for the reply , I will check it with fluent bit community.
