# Having issue accessing the Discourse APIs from react app

**URL:** <https://meta.discourse.org/t/having-issue-accessing-the-discourse-apis-from-react-app/259311>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [March 24, 2023, 5:23pm UTC](https://meta.discourse.org/t/having-issue-accessing-the-discourse-apis-from-react-app/259311 "2023-03-24T17:23:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [March 24, 2023, 5:43pm UTC](https://meta.discourse.org/t/having-issue-accessing-the-discourse-apis-from-react-app/259311/2 "2023-03-24T17:43:32Z")

</div>

> [@fahadaslam98](#):
>
> field API-key is not allowed

Is it a User API Key? If I’m not wrong, it should be `User-Api-Key`.

---

_[View the full topic](https://meta.discourse.org/t/having-issue-accessing-the-discourse-apis-from-react-app/259311)._
