Kreya icon indicating copy to clipboard operation
Kreya copied to clipboard

Kreya does not support decoding messages in 'https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto'

Open nhatca opened this issue 8 months ago • 4 comments

Describe the bug Kreya does not support decoding messages in 'https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto'

  "code": 13,
  "message": "Bad request",
  "details": [
    {
      /* Could not find any type in the set of imported protos */
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "value": "ChgKD25lc3RlZC5wYWdlU2l6ZRIFRXJyb3I="
    },
    {
      /* Could not find any type in the set of imported protos */
      "@type": "type.googleapis.com/google.rpc.ErrorInfo",
      "value": "CgtCQURfUkVRVUVTVBIIaWRlbnRpdHk="
    }
  ]
}

To Reproduce Steps to reproduce the behavior:

  1. Makes calls to the service and returns error messages inside the grpc-status-details-bin trailer.
  2. Kreya returns the corresponding results as above

Expected behavior Expect to decode messages with type Any included in details of google.rpc.Status

Environment (if possible, copy the information from the error dialog or the About menu):

  • OS: macOs Sonoma 14.5
  • Kreya Version: 1.15.0

nhatca avatar Jun 20 '24 11:06 nhatca