# Test Case Help

**URL:** <https://forum.kx.com/t/test-case-help/13939>\
**Category:** Academy Support\
**Tags:** imported\
**Created:** [May 24, 2024, 2:56pm UTC](https://forum.kx.com/t/test-case-help/13939 "2024-05-24T14:56:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Treese\_H85](https://avatars.discourse-cdn.com/v4/letter/t/58f4c7/32.png) [@Treese\_H85](https://forum.kx.com/u/Treese_H85)\
**Post date:** [May 24, 2024, 2:56pm UTC](https://forum.kx.com/t/test-case-help/13939/1 "2024-05-24T14:56:59Z")

</div>

[https://learninghub.kx.com/forums/topic/test-case-help](https://learninghub.kx.com/forums/topic/test-case-help)

@megan\_mcp @laura I'm getting an error for 3.6 this my code for 3.6

hdbH".z.pg{permission:.perm.users[.z.u;`api];test:.perm.parseQuery[x];$[permission~`all;value x;($[test~permission;value x;:`notAuthorized])]}"

---

<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:** [June 3, 2024, 11:39am UTC](https://forum.kx.com/t/test-case-help/13939/2 "2024-06-03T11:39:59Z")

</div>

Hi @Treese\_H85

Apologies for the delay in response.

Can you make sure you are not running this cell after defining .z.pg, as this reverts it on the server process.

Let me know if this works !

Thanks,

Megan
