zbc.resolveIndecent(incidentKey) is not working, invoking the method reports following error(thrown by gateway):
11:58:32.978 | zeebe | ERROR: [resolveIncident]: 14 UNAVAILABLE: Expected to execute command on partition 0, but either it does not exist, or the gateway is not yet aware of it
having looked at the code, the following snippet appeared to be the culprit, grpc api is expecting json but the below code is passing string.
public resolveIncident(incidentKey: string): Promise<void> {
return this.executeOperation('resolveIncident', () =>
this.grpc.resolveIncidentSync(incidentKey) //FIXME: this should be {incidentKey: incidentKey}
)
}
zbc.resolveIndecent(incidentKey) is not working, invoking the method reports following error(thrown by gateway):
having looked at the code, the following snippet appeared to be the culprit, grpc api is expecting json but the below code is passing string.