Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
[X] I have searched the tracker for existing similar issues and I know that duplicates will be closed
Describe the Issue
Postman fails to load a gRPC API via reflection when the API leverages proto2 extension types with the error Could not load server reflection. Details: duplicate name '<field>' in Type <extended-message>
This is officially supported by the reflection spec and works in other reflection clients such as grpccurl and grpcui
Steps To Reproduce
This is currently failing in the sample server from the NestJS gRPC Reflection Module library that I maintain and can be reproduced by starting that server and attempting to reflect the API.
Start the server. Run from the nestjs-grpc-reflection-module repo
Switch to node 20
Install dependencies with npm install
Start sample server with npm run start:dev
Reflect the exposed API in Postman
Create a new gRPC request
Enter localhost:5000 as the server URL
Click the dropdown saying "select a method" and choose "Use Server Reflection"
As an alternative to running my server directly, it should be able to be replicated with the following minimal proto definition:
Is there an existing issue for this?
Describe the Issue
Postman fails to load a gRPC API via reflection when the API leverages proto2 extension types with the error
Could not load server reflection. Details: duplicate name '<field>' in Type <extended-message>
This is officially supported by the reflection spec and works in other reflection clients such as grpccurl and grpcui
Steps To Reproduce
This is currently failing in the sample server from the NestJS gRPC Reflection Module library that I maintain and can be reproduced by starting that server and attempting to reflect the API.
Start the server. Run from the nestjs-grpc-reflection-module repo
npm install
npm run start:dev
Reflect the exposed API in Postman
localhost:5000
as the server URLAs an alternative to running my server directly, it should be able to be replicated with the following minimal proto definition:
Screenshots or Videos
Operating System
macOS
Postman Version
10.18.9
Postman Platform
Postman App
User Account Type
Signed In User
Additional Context?
No response