Skip to content

ERROR [EventStore] ProtocolError: missing required 'result' | How to fix this error! #54

Description

@un4ckn0wl3z

I using this lib for storing application events.
Storing process is success but got this error from internal of this lib. How to fix it. I think it throwing from protobufjs

full log:
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [NestFactory] Starting Nest application...
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] AppModule dependencies initialized +25ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] EventStoreModule dependencies initialized +1ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] EventStoreCoreModule dependencies initialized +0ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] EventStoreModule dependencies initialized +0ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [EventStore]
Connecting to persistent subscription hero on stream $ce-hero!

[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] CqrsModule dependencies initialized +1ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] EventStoreCoreModule dependencies initialized +0ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [InstanceLoader] HeroesGameModule dependencies initialized +1ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [RoutesResolver] HeroesGameController {/hero}: +3ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [RouterExplorer] Mapped {/hero/:id/kill, POST} route +2ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [RouterExplorer] Mapped {/hero, GET} route +1ms
[Nest] 2912 - 01/25/2023, 4:48:08 PM LOG [NestApplication] Nest application successfully started +5ms
[Nest] 2912 - 01/25/2023, 4:48:09 PM LOG [EventStoreBroker] EventStore connected!
KillDragonCommand...
[Nest] 2912 - 01/25/2023, 4:48:12 PM ERROR [EventStore] ProtocolError: missing required 'result'
{
eventNumber: 'ID52bbzfgIFuAFYaQu4rNNSvw4QxIIxm',
heroId: '1234',
dragonId: 1
}
HeroKilledDragonEvent...
{"eventNumber":"ID52bbzfgIFuAFYaQu4rNNSvw4QxIIxm","heroId":"1234","dragonId":1}
Inside [HeroesGameSagas] Saga
{"eventNumber":"ID52bbzfgIFuAFYaQu4rNNSvw4QxIIxm","heroId":"1234","dragonId":1}
Async DropAncientItemCommand...
[Nest] 2912 - 01/25/2023, 4:48:13 PM ERROR [EventStore] ProtocolError: missing required 'result'
Async HeroFoundItemEvent...
{"eventNumber":"ORw0k9ywhPNSmS9ZYI9gWWYO8RyRqQEl","hero":"1234","itemId":"0"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions