I'm not sure what is going on when I execute a test scenario for PATCH restful API

Can you send me your custom script and public script? If there is sensitive information, you can sanitize the data.