# Having trouble retreiving records

**URL:** <https://community.dreamfactory.com/t/having-trouble-retreiving-records/3036>\
**Category:** REST API\
**Created:** [August 1, 2016, 6:27am UTC](https://community.dreamfactory.com/t/having-trouble-retreiving-records/3036 "2016-08-01T06:27:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![netgains](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@netgains](https://community.dreamfactory.com/u/netgains)\
**Post date:** [August 1, 2016, 6:27am UTC](https://community.dreamfactory.com/t/having-trouble-retreiving-records/3036/1 "2016-08-01T06:27:52Z")

</div>

Having trouble retreiving records, error say no api key provided

[http://localhost:8080/api/v2/db/\_table/Employee/2?fields=EID?api\_key='36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88'](http://localhost:8080/api/v2/db/_table/Employee/2?fields=EID?api_key=%2736fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88%27)

---

<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:** [August 3, 2016, 3:27pm UTC](https://community.dreamfactory.com/t/having-trouble-retreiving-records/3036/2 "2016-08-03T15:27:58Z")

</div>

Your url is formatted incorrectly. The ? indicates the start of a series of parameters, which should be separated by &, not additional ?s. Also I notice you have %27 on each end of your api key (which is the url encode for ') This is not necessary.

`http://localhost:8080/api/v2/db/_table/Employee/2?fields=EID&api_key=36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88`
