You didn't give your complete model number but this model that may be yours, is limited to 32 gb of ram.
The link to that info, may help you to find your model if this is not it.:
I think you would need to contact HP support as specifications on the motherboard they use can be hard to find.
They should have a QVL list on speed/voltage/timings, etc...
I found what I think is a link to your product much earlier today but the Mod has not approved my post yet. The memory upgrade for those machines with Ryzen say the limit for the board is 32gb.
pokester excuse, can you share the link? i would like to look up the information is talking about its, because i am not sure that my pc supports 16 or 32 and i dont like to burn the processor
I would be very grateful