Is this error normal when I run this custom function?

Hi!

I have created an apoc custom function in a Neo4j Community Server, but when I try to run the function I get this following error:

I have reproduced the same function in Neo4j Desktop but it is working fine. So I would like to know why is this happening and how can I solve it.

Thanks in advance!

@alejandropuerto

This function does not work in apoc-core.
I think it works with apoc-all.

apoc-4.3.0.4-all.jar
apoc-4.3.0.4-core.jar