You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the practice of sending rich errors in the metadata trailer:
returnnil, status.ErrorProto(
&spb.Status{
Code: int32(codes.InvalidArgument),
Message: "some message",
Details: []*anypb.Any{a}, // with `a` pointing to some instance of a message defined in proto
},
)
In the response the grpc-status-details-bin is a base64 version of the details data, but it does not seem to be in the same format normal messages are returned. Therefore, it is impossible to deserialise the data into something meaningful, in turn making it impossible to do rich errors.
The text was updated successfully, but these errors were encountered:
Following the practice of sending rich errors in the metadata trailer:
In the response the
grpc-status-details-bin
is a base64 version of the details data, but it does not seem to be in the same format normal messages are returned. Therefore, it is impossible to deserialise the data into something meaningful, in turn making it impossible to do rich errors.The text was updated successfully, but these errors were encountered: