DF0006: RPC Function Not Registered

RPC function "{name}" is not registered

Message

RPC function "{name}" is not registered

Cause

RpcFunctionsHost.invokeLocal() was called with a method name that has not been registered on this host.

Fix

Register the function with ctx.rpc.register(defineRpcFunction({ name })) before invoking it.

Source