Get this error on following line:
var event = connection.ReadStreamEventsForwardAsync(streamid, 0, 1, false).Result;
Need to add credential for reading
var event = connection.ReadStreamEventsForwardAsync(streamid, 0, 1, false, new UserCredentials("admin", "changeit")).Result;
No comments:
Post a Comment