We are receiving the following error form our projection:
The stream managed by projection has been written to from the outside.
We initially create a stream from outside the Projection (we have tried it via the .NET driver and Postman) then start out projection which us filtered to a specific Category and Event Type.
After an event is received, we try the following:
emit(dailyStream, “TillTransactionStartedEvent”, new TillTransactionStartedEvent(e), new MetaData());
It’s at this stage we get this error.
We have tried various combinations of parameters in emit in case we had made a mistake, but we keep getting the same error message.
The same projection works fine if we let it create the stream, so we hope our javascript isn’t the source of the problem.
Anyone help?