Skip to content
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

gRPC variable expansion Incorrect Type error #11490

Closed
1 task done
Kevin-Kennedy opened this issue Nov 28, 2022 · 2 comments
Closed
1 task done

gRPC variable expansion Incorrect Type error #11490

Kevin-Kennedy opened this issue Nov 28, 2022 · 2 comments
Assignees
Labels
bug product/api-client protocol/grpc Issues related to the gRPC protocol experience in Postman

Comments

@Kevin-Kennedy
Copy link

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

When using a collection variable with type number (e.g. 42) in a gRPC unary input with type uint32 (e.g. {{myVar}}, postman declares "Incorrect Type. Expected one of integer, null." and prevents the method from being invoked.

The IDE always had the yellow squiggles but was working. The blocked invokation behaviour started within the past few weeks.

Steps To Reproduce

  1. pm.collectionVariables.set("myVar", 42)
  2. Use a unary gRPC request with message input such as { "id": {{myVar}} }

Screenshots or Videos

No response

Operating System

macOS

Postman Version

10.5.3

Postman Platform

Postman App

Additional Context?

Screen Shot 2022-11-28 at 5 00 22 PM

Screen Shot 2022-11-28 at 5 03 00 PM

Screen Shot 2022-11-28 at 5 04 15 PM

Screen Shot 2022-11-28 at 5 05 41 PM

@codenirvana codenirvana added protocol/grpc Issues related to the gRPC protocol experience in Postman product/api-client labels Nov 29, 2022
@codenirvana codenirvana self-assigned this Nov 29, 2022
@codenirvana
Copy link
Member

@Kevin-Kennedy Thanks for reporting this issue.

I can reproduce the issue locally, we'll fix this soon!

@appurva21
Copy link
Member

@Kevin-Kennedy This is now fixed in the latest version of the Postman App (v10.5.6). Feel free to re-open the issue in case you are still facing the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug product/api-client protocol/grpc Issues related to the gRPC protocol experience in Postman
Projects
None yet
Development

No branches or pull requests

3 participants