When creating a Page with a Table, you cannot send the request, as the Notion API requires Table to have Children, at minimum an empty array, however TableInfo type has Children as TableRowBlock instead of IEnumerable<TableRowBlock>
body failed validation: body.children[2].table.children should be an array, instead was {"type":"table_row","object":"block","created_time":"00...
Solution: Modify Notion.Client.TableBlock.TableInfo.Children to be IEnumerable<TableRowBlock>
When creating a Page with a
Table
, you cannot send the request, as the Notion API requires Table to have Children, at minimum an empty array, howeverTableInfo
type has Children asTableRowBlock
instead ofIEnumerable<TableRowBlock>
body failed validation: body.children[2].table.children should be an array, instead was {"type":"table_row","object":"block","created_time":"00...
Solution: Modify
Notion.Client.TableBlock.TableInfo.Children
to beIEnumerable<TableRowBlock>