Which version of OpenFHE are you using? I just ran an example against OpenFHE v1.2.3 and it worked successfully.
v1.2.3
This feature was added in OpenFHE in May 2024 (Release 1.1.0) as a request to this thread: see the issue.