# kdb Developer Level 2 Capstone Project-1.5

**URL:** <https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198>\
**Category:** Academy Support\
**Tags:** imported\
**Created:** [April 19, 2025, 12:08pm UTC](https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198 "2025-04-19T12:08:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Durgesh](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/durgesh/32/128_2.png) [@Durgesh](https://forum.kx.com/u/Durgesh)\
**Post date:** [April 19, 2025, 12:08pm UTC](https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198/1 "2025-04-19T12:08:27Z")

</div>

[https://learninghub.kx.com/forums/topic/kdb-developer-level-2-capstone-project-1-5](https://learninghub.kx.com/forums/topic/kdb-developer-level-2-capstone-project-1-5)

&nbsp;Hi team,  
while completing my level-2 certification, facing below issue on task 1.5 :

So I have created handle to get data from port 5457, using :

**refServiceHandle:hopen `::5457**

But when I am trying to call&nbsp;getOptionRef api, I am getting BLOCKED error.  
Please check screenshots.

---

<div class="post-metadata">

**Author:** ![Martin](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/martin/32/128_2.png) [@Martin](https://forum.kx.com/u/Martin)\
**Post date:** [April 20, 2025, 2:18am UTC](https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198/2 "2025-04-20T02:18:41Z")

</div>

getOptionRef should be a symbol, not a string:  
  
refServiceHandle(`getOptionRef; uniqueOpts)

---

<div class="post-metadata">

**Author:** ![mmcparland](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/mmcparland/32/54_2.png) [@mmcparland](https://forum.kx.com/u/mmcparland)\
**Post date:** [April 22, 2025, 9:23am UTC](https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198/3 "2025-04-22T09:23:31Z")

</div>

Hi Durgesh,

Were you able to resolve this issue?

Many thanks,

Megan

---

<div class="post-metadata">

**Author:** ![Durgesh](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/durgesh/32/128_2.png) [@Durgesh](https://forum.kx.com/u/Durgesh)\
**Post date:** [April 22, 2025, 5:36pm UTC](https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198/4 "2025-04-22T17:36:34Z")

</div>

Hi team, I tried martin's approach but still getting the BLOCKED as return.  
Can you please help in this, please have a look at screenshot.  
  
Thanks for your attention. :)

---

<div class="post-metadata">

**Author:** ![Durgesh](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/durgesh/32/128_2.png) [@Durgesh](https://forum.kx.com/u/Durgesh)\
**Post date:** [April 22, 2025, 5:37pm UTC](https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198/5 "2025-04-22T17:37:10Z")

</div>

Not yet Megan

---

<div class="post-metadata">

**Author:** ![Durgesh](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/durgesh/32/128_2.png) [@Durgesh](https://forum.kx.com/u/Durgesh)\
**Post date:** [April 22, 2025, 5:39pm UTC](https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198/6 "2025-04-22T17:39:08Z")

</div>

Ok solved!!  
Thank you Martin and Regan, below code worked fine....

optRef:refServiceHandle(`getOptionRef; `uniqueOpts)  
  
  
Many thanks to this wonderful community !!

---

<div class="post-metadata">

**Author:** ![mmcparland](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/mmcparland/32/54_2.png) [@mmcparland](https://forum.kx.com/u/mmcparland)\
**Post date:** [April 22, 2025, 6:25pm UTC](https://forum.kx.com/t/kdb-developer-level-2-capstone-project-1-5/14198/7 "2025-04-22T18:25:45Z")

</div>

Great to hear @Durgesh&nbsp;!!

If you require any further assistance, please feel free to let me know :)

Megan
