# gRPC status code in Postman client?

**URL:** <https://community.postman.com/t/grpc-status-code-in-postman-client/72850>\
**Category:** Help Hub\
**Tags:** grpc\
**Created:** [December 18, 2024, 3:51pm UTC](https://community.postman.com/t/grpc-status-code-in-postman-client/72850 "2024-12-18T15:51:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamohara](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@williamohara](https://community.postman.com/u/williamohara)\
**Post date:** [December 18, 2024, 3:51pm UTC](https://community.postman.com/t/grpc-status-code-in-postman-client/72850/1 "2024-12-18T15:51:39Z")

</div>

Ok - i have implemented a grpc service that sets up organizations for my SaaS product. If for instance, I were to try to create an organization where I am not allowed to create an organization - I want to have response message to return “permission denied” and a status code # 7 . I have utilized ` google/rpc/status.proto`. I was expecting the postman client to maybe reflect the same in the ui - did i implement something wrong. How do i get an appropriate status code into the client with gRPC? see image…

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/0/6/06db2df29a5d6fc83eeb305eeb8bd4f4e0cfb85c.png)

---

<div class="post-metadata">

**Author:** ![williamohara](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@williamohara](https://community.postman.com/u/williamohara)\
**Post date:** [December 24, 2024, 1:00am UTC](https://community.postman.com/t/grpc-status-code-in-postman-client/72850/2 "2024-12-24T01:00:58Z")

</div>

Never mind… I discovered I had implemented incorrectly, was not sending error code as part of status.Error…

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 31, 2024, 1:00am UTC](https://community.postman.com/t/grpc-status-code-in-postman-client/72850/3 "2024-12-31T01:00:59Z")

</div>

Closed on December 31, 2024, 1:00am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
