Skip to content

gRPC - Response with an empty array/collections - Error #8659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 of 4 tasks
RIE-UPPERSOLUTIONS opened this issue Apr 29, 2025 · 0 comments
Open
2 of 4 tasks

gRPC - Response with an empty array/collections - Error #8659

RIE-UPPERSOLUTIONS opened this issue Apr 29, 2025 · 0 comments
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@RIE-UPPERSOLUTIONS
Copy link

Expected Behavior

When calling a gRPC-Service ("imported" via grpc-reflection) and receiving a response with an empty array, I want to see the response (with an empty array) instead of an error.

here is how the service is defined:

rpc GetArticleData (ArticleDataRequest) returns (ArticleDataResponse) { }

message ArticleDataRequest{
repeated string article_ids = 1;
}

message ArticleDataResponse{
repeated string article_ids = 1;
}

Actual Behavior

When calling a gRPC-Service ("imported" via grpc-reflection) and receiving a response with an empty array, I get an error.

Image

Reproduction Steps

Add a grpcService and execute the request via the "Send" button.

Image

This results in this error:

Image

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

No response

Insomnia Version

2023.11.0.2 (latest stable version)

What operating system are you using?

Windows

Operating System Version

Windows 11 (23H2)

Installation method

chocolatey.org

Last Known Working Insomnia version

No response

@RIE-UPPERSOLUTIONS RIE-UPPERSOLUTIONS added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Apr 29, 2025
@RIE-UPPERSOLUTIONS RIE-UPPERSOLUTIONS changed the title gRPC - Empty Array/Collections - Error gRPC - Response with an empty array/collections - Error Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

1 participant