This happens when you press a button that triggers a microflow, before the form completed loading. So if you click either really fast, or your browser is really slow, this will happen.
Maybe it deserve a bug report. Buttons just should do nothing when the context is not loaded instead of showing an error?