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…
Never mind… I discovered I had implemented incorrectly, was not sending error code as part of status.Error…
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.