@poettli Thanks for helping troubleshooting. I was finally able to reproduce the issue and seem to have fixed it. Could you try the latest version of the Beta and see if there are still any problems?
@adomasven I have tried with the latest beta (7.0.9-beta.1+3e37c44c8) and I didn't see any problem in the document we have been testing. I can insert sentences with citation from another document, and refreshing works as expecting, i.e., no error, space removed after a ) and a ". Thanks a lot.
Debug ID D398857302
And after the error occurred in the test file, it creates bookmarks in the source document, in the form "OLE_LINK" + a number:
https://s3.amazonaws.com/zotero.org/images/forums/u2119014/vysm0nimabd2tmjwfkaa.png
I have tried on both OneDrive and local drive, and I always get an error.