# (Beginner)Having issue with Playground, giving permission denied error

**URL:** <https://discourse.getcockpit.com/t/beginner-having-issue-with-playground-giving-permission-denied-error/2597>\
**Category:** Support\
**Created:** [December 7, 2022, 6:01am UTC](https://discourse.getcockpit.com/t/beginner-having-issue-with-playground-giving-permission-denied-error/2597 "2022-12-07T06:01:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![janurag1](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/janurag1/32/1219_2.png) [@janurag1](https://discourse.getcockpit.com/u/janurag1)\
**Post date:** [December 7, 2022, 6:01am UTC](https://discourse.getcockpit.com/t/beginner-having-issue-with-playground-giving-permission-denied-error/2597/1 "2022-12-07T06:01:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [December 7, 2022, 8:47am UTC](https://discourse.getcockpit.com/t/beginner-having-issue-with-playground-giving-permission-denied-error/2597/2 "2022-12-07T08:47:02Z")

</div>

Did you set an api key?

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

Or assign a role to public / anonymous requests in Settings \> Api & Security with the needed permissions
