# (Beginner) Permission denied error

**URL:** <https://discourse.getcockpit.com/t/beginner-permission-denied-error/2768>\
**Category:** Support\
**Created:** [April 7, 2023, 9:29am UTC](https://discourse.getcockpit.com/t/beginner-permission-denied-error/2768 "2023-04-07T09:29:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oralbek](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/oralbek/32/1329_2.png) [@Oralbek](https://discourse.getcockpit.com/u/Oralbek)\
**Post date:** [April 7, 2023, 9:29am UTC](https://discourse.getcockpit.com/t/beginner-permission-denied-error/2768/1 "2023-04-07T09:29:24Z")

</div>

Hi, I create a new singleton and trying to access it with get call in the rest api, but it is giving 403 permission denied error. Need help

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/2X/5/5a6851c61f626ac1fafd20382684fb1d8ba1847b.png)

But, when requesting images, everything works  
[https://yapx.ru/album/V3LvG](https://yapx.ru/album/V3LvG)

---

<div class="post-metadata">

**Author:** ![creativeplusplus](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/creativeplusplus/32/844_2.png) [@creativeplusplus](https://discourse.getcockpit.com/u/creativeplusplus)\
**Post date:** [April 7, 2023, 2:30pm UTC](https://discourse.getcockpit.com/t/beginner-permission-denied-error/2768/2 "2023-04-07T14:30:56Z")

</div>

Not in params put in header

Api-key

Please check again the documentation

> **[Authentication](https://getcockpit.com/documentation/core/api/authentication)**
>
> Simple Content Platform to manage any structured content

---

<div class="post-metadata">

**Author:** ![Oralbek](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/oralbek/32/1329_2.png) [@Oralbek](https://discourse.getcockpit.com/u/Oralbek)\
**Post date:** [April 10, 2023, 11:03am UTC](https://discourse.getcockpit.com/t/beginner-permission-denied-error/2768/3 "2023-04-10T11:03:25Z")

</div>

I didn’t choose a role(  
Thanks!
