Skip to content

appendToStream with expectedRevision -1 causes cryptic error #348

Open
@rmp613

Description

@rmp613

Describe the bug
Very similar to
kurrent-io/KurrentDB#2781

I get
Request message serialization failure: Cannot read property 'lo' of null
when attempting to appendToStream with -1 expectedRevision
To Reproduce
Steps to reproduce the behavior:

  1. call appendToStream with -1 expectedRevision

Expected behavior
A less cryptic error so the user can fix the issue

Actual behavior
A cryptic grpc error is thrown

Config/Logs/Screenshots

EventStore details

  • EventStore server version:
    23.10.0
  • Operating system:
    linux
  • EventStore client version (if applicable):
    6.0.0
    Additional context

DB-492

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugIssues which are a software defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions