Invalid Operation Encountered: The Operation received was either Invalid or Corrupted, please retry! #110
anonymous9915
started this conversation in
Bug Report
Replies: 1 comment 5 replies
-
Hi @anonymous9915, Since you are using Windows, my quick educative guess would be this is something to do with line ending which windows just does not get right. Can you once run the example project and see if you can reproduce the same? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
If the history is not empty, and then if I make any changes then it is throwing an error and also changes are not getting saved to the firebase.
Uncaught (in promise): Invalid Operation Encountered: The Operation received was either Invalid or Corrupted, please retry!
Invalid Operation Encountered: The Operation received was either Invalid or Corrupted, please retry!
The base length of the second operation has to be the target length of the first operation
Assertion Failed: The base length of the second operation has to be the target length of the first operation
Retain expects a positive integer.
Assertion Failed: Retain expects a positive integer.
To Reproduce
Create the firepad using FireMonacoEditor. then write something to the editor and refresh the page, you will get one of those errors.
Expected behavior
Data should be saved to the firebase without throwing errors.
Screenshots
Desktop:
OS: Windows
Browser chrome
Version: 102.0.5005.115 (Official Build) (64-bit)
Framework: Angular 12
Beta Was this translation helpful? Give feedback.
All reactions