Thanks for letting us know here you are having difficulty capturing screenshots using a palm swipe on your Samsung Galaxy S23, and we are sorry to hear that.
Did you try swipe your hand edge from right to left or left to right and your hand edge must be touching the screen?
We feel and understand it; if it happens to me, I will be bothered too.
If that doesn't fix the problem, you may submit an error report through the Samsung Members app as follows:
Step 1. Long press Samsung Members icon on Apps screen and tap Error reports.
Step 2. Tap OK on agreement popup to send system log data.
Step 3. Select Symptom category "Settings/System".
Step 4. Describe the problem in details and SEND.
Should you need further assistance and guidance, you may contact us via our online Samsung Customer Care support channels below.