# ERROR: The role id '' does not exist in the system

**URL:** https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165
**Category:** REST API
**Created:** [July 14, 2014, 11:44am UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165 "2014-07-14T11:44:10Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![haitham](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/haitham/32/68_2.png) [@haitham](https://community.dreamfactory.com/u/haitham)
#### Post date: [July 14, 2014, 11:44am UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/1 "2014-07-14T11:44:10Z")

</div>

Hello ,  
Since i installed the new version`1.6.10` via github, and i’m getting this error: `"ERROR: The role id '' does not exist in the system"`, it’s not about role id itself, obviously DSP throws this exception when any error occurs, nothing more shows in logs.

Please advice.

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [July 14, 2014, 12:24pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/2 "2014-07-14T12:24:05Z")

</div>

Hi,

When exactly are you getting this error? Which operation are you performing on the DSP when this is returned?

From the information you’ve given, my assumption is that the installation was successful - but an operation through the API (most likely GET) is returning this error message.

Any more details will help,

Thanks,

- Mark

---

<div class="post-metadata">

### Author: ![haitham](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/haitham/32/68_2.png) [@haitham](https://community.dreamfactory.com/u/haitham)
#### Post date: [July 14, 2014, 12:34pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/3 "2014-07-14T12:34:08Z")

</div>

Hi Mark,

Exactly yes, that happens when i try to perform a `GET` operation, although i’m 100% sure that it’s nothing related to `Role Id` most probably if/when DSP fails for any other reason it throws this error message.

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [July 14, 2014, 12:35pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/4 "2014-07-14T12:35:40Z")

</div>

Okay. You’re performing a GET on which service?

---

<div class="post-metadata">

### Author: ![haitham](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/haitham/32/68_2.png) [@haitham](https://community.dreamfactory.com/u/haitham)
#### Post date: [July 14, 2014, 12:52pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/5 "2014-07-14T12:52:27Z")

</div>

Remote web service .

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [July 14, 2014, 12:59pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/6 "2014-07-14T12:59:45Z")

</div>

Please send me an email to **[support@dreamfactory.com](mailto:support@dreamfactory.com)**

We can get into detail and back-n-forth without clogging up the forum, then can post solution when resolved.

Thanks,

- Mark

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [July 14, 2014, 2:22pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/7 "2014-07-14T14:22:45Z")

</div>

Which web service are you using to perform this GET?

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [July 14, 2014, 2:28pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/8 "2014-07-14T14:28:28Z")

</div>

The error is saying that the role id is not in the system, because the id is ’ ’ or, by the looks of it, completely blank. Our DSP is not configured in a way to throw this error generically due to another failure unrelated to role id. This error is being thrown because the role cannot be found within your web service while performing your REST call.

This would be the same case if you created another service, let’s say a DB, and performed a GET on id “1” - in the case the result would come back as 200 success (assuming there is an id associated with “1”), but if left blank then it will throw an error, because there isn’t an associated value with a blank GET (id) request…

Thanks,

- Mark

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [July 14, 2014, 2:36pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/9 "2014-07-14T14:36:33Z")

</div>

let me test this out.

thanks,

- Mark

---

<div class="post-metadata">

### Author: ![haitham](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/haitham/32/68_2.png) [@haitham](https://community.dreamfactory.com/u/haitham)
#### Post date: [July 14, 2014, 3:10pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/10 "2014-07-14T15:10:29Z")

</div>

> [@Mark](#):
>
> [support@dreamfactory.com](mailto:support@dreamfactory.com)

Hi Mark,  
I’ve just sent you an Email at `support@dreamfactory.com`, waiting your reply to take it from there.

Thanks.

---

<div class="post-metadata">

### Author: ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)
#### Post date: [July 14, 2014, 3:24pm UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/11 "2014-07-14T15:24:23Z")

</div>

gotcha. will reach out now. thanks,

- Mark

---

<div class="post-metadata">

### Author: ![jawaite123](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@jawaite123](https://community.dreamfactory.com/u/jawaite123)
#### Post date: [February 15, 2015, 2:37am UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/12 "2015-02-15T02:37:17Z")

</div>

Curious what happened with this. I am getting the same error when GET request to /user/session Pretty sure the session has timed out, but shouldn’t it return a different message? On version 1.9.0 pretty fresh install.

---

<div class="post-metadata">

### Author: ![jawaite123](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@jawaite123](https://community.dreamfactory.com/u/jawaite123)
#### Post date: [February 15, 2015, 3:44am UTC](https://community.dreamfactory.com/t/error-the-role-id-does-not-exist-in-the-system/165/13 "2015-02-15T03:44:17Z")

</div>

Figured it out. Had Guest access enabled, but no role was selected in the drop down box. Oops.
