Istio RBAC change in paylod

Hi All, We are using istio in EKS. We are using istio RBAC for controlling microservice communication. it is working perfectly fine. When a micro service tries to hit a service which it is not allowed , we are getting error like RBAC: access denied

Is there a way we can change this response type and customise it according to our needs.

Sorry current this is hard coded and not supported. Would you mind to tell us more what kind of customization do you want here? This should help us to prioritize this feature request.

Thanks for the reply, We are trying to customize the error code based on our needs so that we can add relevant information which my client can understand