Advanced Capstone 3.6

Hello I’ve been having trouble with the .z.pg for a while now. When I expunge the function, I pass all exercises (except 3.6) but when I run the .z.pg, some of the exercises I previously passed, fails. the .z.pg function however, works at is it should.

This is my .z.pg function: 

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

I tried to re-connect to my remote process using the accepted usernames and passwords, but that didn’t change anything. Have also restarted the server numerous times.

I’m not sure if it’s issues with my function or the processes.

 

Hi  !

Here’s a similar problem that was posted to the community Solved: Exercise 3.6 - KX Community - 14806.

Let me know if this helps!

Thanks,

Megan

Hi, I’ve checked that one. It’s the same issue but they had a different error code. I keep getting type error after defining .z.pg

Hello, no worries I’ve figured it out, it was my .perm.parseQuery function. I defined as parse[0] instead of first parse x. All sorted now 

 Glad to hear! Goodluck with the rest of the Capstone.

Megan