# Can't access my Custom Script Service

**URL:** <https://community.dreamfactory.com/t/cant-access-my-custom-script-service/2887>\
**Category:** Server-Side Scripting\
**Created:** [June 25, 2016, 3:04pm UTC](https://community.dreamfactory.com/t/cant-access-my-custom-script-service/2887 "2016-06-25T15:04:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimijon](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jimijon/32/718_2.png) [@jimijon](https://community.dreamfactory.com/u/jimijon)\
**Post date:** [June 25, 2016, 3:04pm UTC](https://community.dreamfactory.com/t/cant-access-my-custom-script-service/2887/1 "2016-06-25T15:04:04Z")

</div>

I keep getting:

```
{"error":{"context":null,"message":"Role not found.","code":404}}

```

I have one Role in my app. I have allowed access to the Service. However, in the “component” pull down there is nothing to select. Is this my problem? Is it a bug?

---

<div class="post-metadata">

**Author:** ![jimijon](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jimijon/32/718_2.png) [@jimijon](https://community.dreamfactory.com/u/jimijon)\
**Post date:** [June 26, 2016, 3:58pm UTC](https://community.dreamfactory.com/t/cant-access-my-custom-script-service/2887/2 "2016-06-26T15:58:18Z")

</div>

My very stupid mistake. I had the wrong api\_key specified.
