Kong/insomnia · error

Unsupported method type: ${methodType}

Error message

Unsupported method type: ${methodType}

What it means

Error "Unsupported method type: ${methodType}" thrown in Kong/insomnia.

Source

Thrown at packages/insomnia/src/main/ipc/grpc.ts:481

            requestPath,
            method.requestSerialize,
            method.responseDeserialize,
            messageBody,
            filterDisabledOrInvalidMetaData(request.metadata),
          );
          onStreamingResponse(event, serverCall, request._id);
          grpcCalls.set(request._id, serverCall);
        } else if (methodType === 'bidi') {
          const bidiCall = client.makeBidiStreamRequest(
            requestPath,
            method.requestSerialize,
            method.responseDeserialize,
            filterDisabledOrInvalidMetaData(request.metadata),
          );
          onStreamingResponse(event, bidiCall, request._id);
          grpcCalls.set(request._id, bidiCall);
        } else {
          throw new Error(`Unsupported method type: ${methodType}`);
        }
        // Update request stats
        services.stats.incrementExecutedRequests();
        event.reply('grpc.start', request._id);
      } catch (error) {
        // TODO: How do we want to handle this case, where the message cannot be parsed?
        //  Currently an error will be shown, but the stream will not be cancelled.
        event.reply('grpc.error', request._id, error);
      }
      return;
    })
    .catch(error => {
      event.reply('grpc.error', request._id, error);
    });
};

export const sendMessage = (event: IpcMainEvent, { body, requestId }: GrpcIpcMessageParams) => {
  try {

View on GitHub (pinned to d9bb2b0142)

When it happens

Trigger: Thrown at packages/insomnia/src/main/ipc/grpc.ts:481 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Kong/insomnia@d9bb2b0142 (2026-08-26). Data as JSON: /api/errors/18dff470049cb8f2. Report an issue: GitHub.