diff --git a/lib/session.ts b/lib/session.ts index e5f4271..b268c25 100644 --- a/lib/session.ts +++ b/lib/session.ts @@ -2678,7 +2678,10 @@ export async function rpcResponse( const wildcardParams: Path[] = [root.concat(wildcardPath)]; for (const [path, object, writable] of rpcRes.parameterList) { - if (!path.toString().startsWith(rpcReq.parameterPath)) { + if ( + !path.toString().startsWith(rpcReq.parameterPath) && + !(`${path.toString()}.` === rpcReq.parameterPath && !rpcReq.nextLevel) + ) { logger.accessWarn({ sessionContext: sessionContext, message: "Unexpected parameter in response",