ISSUE: Error: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error)

There are many possible reasons for these errors, including some that just are purely network-level issues and can’t be avoided. But if you are seeing that error very frequently, then that’s most likely due to some bugs in Node’s HTTP2 library and/or the gRPC implementation. There’s been a lot of those issues fixed recently.

Make sure you are using a recent version of Node (ideally latest 20.x.y or 22.x.y), and try updating to TS SDK v1.11.7.

1 Like