How to save a Matrix with Super Table in it I have an entry with a Matrix field, inside this field I have a Super Table as block type.  My fields data looks like below:

"title" =&gt; "test1"
"matrixHandle" =&gt; array:2 [
  0 =&gt; array:2 [
    "type" =&gt; "sponsorshipRow"
    "fields" =&gt; array:2 [
      "sectionTitle" =&gt; "blablabla"
      "superTableHandle" =&gt; array:5 [
        0 =&gt; array:3 [
          "fields" =&gt; array:10 [
            "relatedArticle" =&gt; 325051
            ...
          ]
        ]
        1 =&gt; [...]
  1 =&gt; [...]


Then I loop these fields

foreach ($fields as $key =&gt; $value) {
    $entry-&gt;setFieldValue($key, $value);
}


And last, I save the entry:

Craft::$app-&gt;elements-&gt;saveElement($entry);


But every data is saved except for the super table block. The super table block is not even created. Any idea please?
In the super table array, there has to be a type there:

"superTableHandle" =&gt; array:5 [
    0 =&gt; array:3 [
      "type" =&gt; 1//the field's id
      "fields" =&gt; array:10 [
        "relatedArticle" =&gt; 325051
        ...
      ]
    ]
    1 =&gt; [...]


For me, this id is 1. It can be found in database by running this SQL

select * from supertableblocktypes;


But I ran the code below before and found out the field's id is 81 which is not working for me, I don't know why

dd(Craft::$app-&gt;fields-&gt;getFieldByHandle('matrixHandle')-&gt;blockTypeFields);