# Discourse API - Unable to query certain endpoints

**URL:** <https://meta.discourse.org/t/discourse-api-unable-to-query-certain-endpoints/129863>\
**Category:** Product Support\
**Created:** [September 30, 2019, 2:34pm UTC](https://meta.discourse.org/t/discourse-api-unable-to-query-certain-endpoints/129863 "2019-09-30T14:34:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ryan\_NR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_nr/32/133654_2.png) [@Ryan\_NR](https://meta.discourse.org/u/Ryan_NR)\
**Post date:** [September 30, 2019, 2:34pm UTC](https://meta.discourse.org/t/discourse-api-unable-to-query-certain-endpoints/129863/1 "2019-09-30T14:34:04Z")

</div>

Hi folks - I’m an admin user of our Discourse instance - but I’m unable to query certain endpoints.

Sometimes I get this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/7/5783a7d1471cc6d9f7a8acbf4012d049558440cf.png)

Other times I am prompted with `You need to be logged in to do that`

I have confirmed the API key I’m using is attached to my Admin user, and that the API\_Username is my own username - do you have any advice on this?

---

_[View the full topic](https://meta.discourse.org/t/discourse-api-unable-to-query-certain-endpoints/129863)._
