# Getting 204 no content response from grafana cloud loki api & not able to get the logs on grafana dashboard

**URL:** <https://community.grafana.com/t/getting-204-no-content-response-from-grafana-cloud-loki-api-not-able-to-get-the-logs-on-grafana-dashboard/119430>\
**Category:** Grafana Loki\
**Tags:** api\
**Created:** [April 15, 2024, 11:12am UTC](https://community.grafana.com/t/getting-204-no-content-response-from-grafana-cloud-loki-api-not-able-to-get-the-logs-on-grafana-dashboard/119430 "2024-04-15T11:12:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![parthrs200](https://avatars.discourse-cdn.com/v4/letter/p/8c91f0/32.png) [@parthrs200](https://community.grafana.com/u/parthrs200)\
**Post date:** [April 15, 2024, 11:12am UTC](https://community.grafana.com/t/getting-204-no-content-response-from-grafana-cloud-loki-api-not-able-to-get-the-logs-on-grafana-dashboard/119430/1 "2024-04-15T11:12:27Z")

</div>

I’m using grafana loki http api for sending logs to grafana cloud, but i’m getting 204 status response from api. But when i checked explorer option in dashboard i can see the stream key points which i have sent with api request, but not able to collect the logs

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/a/1/a124f5ba6e80b9a426afae4395880228611b8d4e.png)

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/7/c/7ca074ffc97f741856524511f34e06c88bcfe03a.png)

---

<div class="post-metadata">

**Author:** ![tonyswumac](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/tonyswumac/32/22401_2.png) [@tonyswumac](https://community.grafana.com/u/tonyswumac)\
**Post date:** [April 18, 2024, 3:33pm UTC](https://community.grafana.com/t/getting-204-no-content-response-from-grafana-cloud-loki-api-not-able-to-get-the-logs-on-grafana-dashboard/119430/2 "2024-04-18T15:33:40Z")

</div>

1. I can’t see the value of your API call in your first screenshot.
2. Try removing the empty filter from your query, for example using `{app="test_app"}` only.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [April 18, 2025, 3:33pm UTC](https://community.grafana.com/t/getting-204-no-content-response-from-grafana-cloud-loki-api-not-able-to-get-the-logs-on-grafana-dashboard/119430/3 "2025-04-18T15:33:48Z")

</div>

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