I use this API to append blocks to the page:
https://api.notion.com/v1/blocks/{block_id}/children
The problem is that the block is added, but due to a network failure, my application does not receive a response and it resends the request, which causes two identical blocks to be added.
I tried to specify the block ID, but it doesn't work.
var parameters = new BlocksAppendChildrenParameters()
{
Children = new List<IBlock>
{
new ParagraphBlock()
{
Id = guid,
Paragraph = new ParagraphBlock.Info
{
Text = richText
}
},
}
};
AppendChildrenAsync(pageId, parameters)