<p>since super table doesn't have block name like matrix and neo field. it required to points using block id. need modification in plugin code and try.
refer following link for reference and its working
<a href="https://github.com/verbb/super-table/issues/449" rel="nofollow noreferrer">https://github.com/verbb/super-table/issues/449</a></p>

CC BY-SA 4.0
2022-06-20T07:30:16.597Z
2022-06-20T07:30:16.597Z
Kishore Natarajan
<p>cant able to store values from super table field,need a correct format to do</p>
<p>Graphql</p>
<pre><code>
mutation saveEntry($superTable: [demoSuperTable_SuperTableBlockContainerInput] = {demoSuperTable_0: {id: &quot;&quot;, rowField1: &quot;&quot;}}, $stSortOrder: [QueryArgument]) {
  save_testing_testing_Entry(
    demoSuperTable: {blocks: $superTable, sortOrder: $stSortOrder}
  ) {
    demoSuperTable {
      ... on demoSuperTable_BlockType {
        id
        rowField1
      }
    }
  }
}

</code></pre>
<p>Querying Variable</p>
<pre><code>{
  &quot;superTable&quot;: [
    {
      &quot;demoSuperTable_0&quot;: {
        &quot;id&quot;: 36,
        &quot;rowField1&quot;: &quot;demo&quot;
      }
    }
  ],
  &quot;stSortOrder&quot;: &quot;new1&quot;
}
</code></pre>
<p>output:</p>
<pre><code>{
  &quot;errors&quot;: [
    {
      &quot;message&quot;: &quot;Demo Super Table should contain at least 1 block.&quot;,
      &quot;extensions&quot;: {[![enter image description here][1]][1]
        &quot;category&quot;: &quot;user&quot;
      },...
</code></pre>
<p><a href="https://i.sstatic.net/hLW7i.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/hLW7i.png" alt="enter image description here" /></a></p>

<craft3><matrix><plugin-supertable><graphql>
trying to insert super table field values using graphql in craft cms
# trying to insert super table field values using graphql in craft cms

(Asked by: username_0 on 2022-06-10)

cant able to store values from super table field,need a correct format to do
Graphql

mutation saveEntry($superTable: [demoSuperTable_SuperTableBlockContainerInput] = {demoSuperTable_0: {id: "", rowField1: ""}}, $stSortOrder: [QueryArgument]) {
  save_testing_testing_Entry(
    demoSuperTable: {blocks: $superTable, sortOrder: $stSortOrder}
  ) {
    demoSuperTable {
      ... on demoSuperTable_BlockType {
        id
        rowField1
      }
    }
  }
}


Querying Variable
{
  "superTable": [
    {
      "demoSuperTable_0": {
        "id": 36,
        "rowField1": "demo"
      }
    }
  ],
  "stSortOrder": "new1"
}

output:
{
  "errors": [
    {
      "message": "Demo Super Table should contain at least 1 block.",
      "extensions": {[![enter image description here][1]][1]
        "category": "user"
      },...

**Tags:** craft3, matrix, plugin-supertable, graphql

---

## 1 answers

### Answer by username_0 on 2022-06-20. Score: 0 | Accepted answer

since super table doesn't have block name like matrix and neo field. it required to points using block id. need modification in plugin code and try.
refer following link for reference and its working
<https://github.com/verbb/super-table/issues/449>


---

