Closed gion-andri closed 5 months ago
Hi @gion-andri Thanks for reporting this issue. I can repro and we'll be looking into this problem. We'll report back if we have a suggestion for you.
Hi. As far as I can tell, there is a bug in the sample: await context.sync() is missing after calling body.paragraphs.load.
True. The missing context sync was the issue. Thank you.
Provide required information needed to triage your issue
Your Environment
Expected behavior
It should be possible to read the annotations of a paragraph
Current behavior
When reading the annotations of a paragraph (
paragraph.getAnnotations()
), officejs throws aGeneralException
error.Steps to reproduce
Run the following snippet in the ScriptLab