# You do not have access to requested file

**URL:** https://community.dreamfactory.com/t/you-do-not-have-access-to-requested-file/1698
**Category:** REST API
**Created:** [November 1, 2015, 7:13am UTC](https://community.dreamfactory.com/t/you-do-not-have-access-to-requested-file/1698 "2015-11-01T07:13:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![charliefinale](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@charliefinale](https://community.dreamfactory.com/u/charliefinale)
#### Post date: [November 1, 2015, 7:13am UTC](https://community.dreamfactory.com/t/you-do-not-have-access-to-requested-file/1698/1 "2015-11-01T07:13:04Z")

</div>

I am using a free instance of dreamfactory straight from the dreamfactory website. I have followed the instructions to the letter as far as I can tell on the sample project Address Book for JavaScript but I am getting the above error.

The path to the files is entered as /files/jsaddress/add\_javascript/ in the services files config to make it public. Is that the right format? I have guest roles set to \* and my API key is set in the script.js etc etc. Running out of things to check. Any ideas anyone?

---

<div class="post-metadata">

### Author: ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)
#### Post date: [November 2, 2015, 2:50pm UTC](https://community.dreamfactory.com/t/you-do-not-have-access-to-requested-file/1698/2 "2015-11-02T14:50:11Z")

</div>

You do not need to include ‘files’ in the path, since that is the name of the service you are configuring.  
Just jsaddress/add\_javascript  
or jsaddress

---

<div class="post-metadata">

### Author: ![charliefinale](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@charliefinale](https://community.dreamfactory.com/u/charliefinale)
#### Post date: [November 3, 2015, 10:58pm UTC](https://community.dreamfactory.com/t/you-do-not-have-access-to-requested-file/1698/3 "2015-11-03T22:58:52Z")

</div>

That was definitely a good idea - but alas I still have the same message. Flushed the browser cache just in case but no,

---

<div class="post-metadata">

### Author: ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)
#### Post date: [November 4, 2015, 7:13pm UTC](https://community.dreamfactory.com/t/you-do-not-have-access-to-requested-file/1698/4 "2015-11-04T19:13:51Z")

</div>

have you confirmed that the path to the files is correct? file paths are case sensitive in this instance.  
Also, if you provide your instance URL, I can check the logs. It may provide more insight.

---

<div class="post-metadata">

### Author: ![charliefinale](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@charliefinale](https://community.dreamfactory.com/u/charliefinale)
#### Post date: [November 4, 2015, 7:30pm UTC](https://community.dreamfactory.com/t/you-do-not-have-access-to-requested-file/1698/5 "2015-11-04T19:30:30Z")

</div>

Bravo Drew, your question exposed the answer. It was when you asked for the instance path I noticed 2 things. One that there was a // in the url for this app because I has set the launch path in the app with a leading /. Secondly spot on, the answer you gave, there was a whole jsaddress/ missing for the path. Now it works I can see how powerful Dreamfactory is turning out to be, both with this and my other post you answered. Many thanks.
