I updated a Notion page text field via a PATCH call. My update shows all annotations as true when adding multiple text entries. Sample code:
{
"pid": "A1",
"update": {
"info": [
{ "mode": "plain", "data": "first entry", "opts": {"bold": false} },
{ "mode": "plain", "data": "second entry", "opts": {"bold": false} }
]
}
}
Can anyone help?
In my experience, this problem can be quite perplexing, as device formatting often behaves unexpectedly upon batch updates. I encountered something similar a while back, where the text annotations, including options like bold, were not being interpreted as initially intended. I resolved it by simplifying the update into smaller, incremental patches to isolate the problem. It also helped to verify the payload format carefully against the Notion API documentation, ensuring that each text segment was structured as expected. Sometimes breaking complex payloads into single entries exposes subtle misconfigurations that could be overlooked in larger arrays.
This issue might be due to how Notion processes multiple text fields in one update. After encountering similar behavior, I found that splitting updates into separate requests for each text entry helped prevent unexpected annotation states. Try testing a single text update and then gradually building up to multiple entries. Also, double-check that the data structure strictly adheres to the API’s expected format. In some cases, the API may misinterpret batch formatting instructions, so isolating each change can be a viable workaround.
hey, you might try updating text fields one at a time. i noticed using smaller PATCHes avoids weird formatting issues. sometimes the api misreads batch data, maybe due to inconsistent payload parsing. hope this helps!