vyvyan2010 commented on issue #6996:
URL: https://github.com/apache/apisix/issues/6996#issuecomment-1185364801

   > 
   ```
           local encoded_data = 
"CA4SDk91dCBvZiBzZXJ2aWNlGlcKKnR5cGUuZ29vZ2xlYXBpcy5jb20vaGVsbG93b3JsZC5FcnJvckRldGFpbBIpCAESHFRoZSBzZXJ2ZXIgaXMgb3V0IG9mIHNlcnZpY2UaB3NlcnZpY2U"
           local decoded_data = ngx_decode_base64(encoded_data)
           local data = pb.decode("ErrorStatus", decoded_data)
           data = data.details[1].value
           local data = pb.decode("ErrorDetail", data)
   ```
   Need to specify the proto name to decode `grpc-status-details-bin`, so  the 
`proto name` configuration item is needed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to