RuntimeException when patch submission. Module Webform Rest When i send a PATCH request to my site to /webform_rest/{webform_id}/submission/{sid}?_format=json with the body
{
    &quot;data&quot;:{
        &quot;sincronizado&quot;:1
    }
}

or
{
  &quot;sincronizado&quot;:1
}

from postman, I receive a 500 error.
The site log displays the next error:

RuntimeException: Callable
&quot;Drupal\webform_rest\Plugin\rest\resource\WebformSubmissionResource::patch&quot;
requires a value for the &quot;$webform_data&quot; argument. en
Drupal\Component\Utility\ArgumentsResolver-&gt;handleUnresolvedArgument()
(line 142 of
/usr/home/example.com/web/core/lib/Drupal/Component/Utility/ArgumentsResolver.php).

Am I making a bad request? What is the $webform_data argument? My webform has a field &quot;sincronizado&quot;, of type value.
I'm using Drupal 9.
REST UI 8.x-1.18.
RESTful Web Services 9.0.2
Webform 6.0.0-alpha12
Webform Rest 4.0.0-beta1

Same problem sending sid parameter with Webform rest version 8.x-2.0-beta3.
My request from postman, in curl code is

curl --location --request PATCH 'http://example.com/webform_rest/webform-id-example/submission/36?_format=json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic (admin user and password in base 64)' \
--data-raw '{  
"sincronizado":"1"
}'
Ok mate if you open up
webform_rest\Plugin\rest\resource\WebformSubmissionResource.php
and find the patch method you will see
public function patch($webform_id, $uuid, array $webform_data) { ...

looks like Webform Rest 4.0.0-beta1 is now using the submission uuid
so
/webform_rest/{webform_id}/submission/{sid}

&quot;sid&quot; should now be Webform Submission UUID
for the body field or the $webform_data
the module is looking for
  foreach ($webform_data as $field =&gt; $value) {
      $webform_submission-&gt;setElementData($field, $value);
    }

so your json should look like:
   {
    &quot;filed_name&quot;: &quot;value&quot;
   }

because json_decode($json_string, true) will return an array.
if that does not work then file a bug ticket