H clustering not working

Can you provide a reprex (FAQ: How to do a minimal reproducible example ( reprex ) for beginners)? I know you are using a db here but create the toy example with the same error so we can observe it. Otherwise I can't trace it back and see why it wouldn't run.