Exception deserializing response when retrieving a project using gRPC
This simple script should reproduce it:
import grpc
from lara_django_projects_grpc.v1.lara_django_projects_pb2_grpc import ProjectControllerStub
from lara_django_projects_grpc.v1.lara_django_projects_pb2 import ProjectRetrieveRequest
channel = grpc.insecure_channel("localhost:50051")
controller_stub = ProjectControllerStub(channel)
request = ProjectRetrieveRequest(project_id="some-valid-id")
response = controller_stub.Retrieve(request)
Raises this error:
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INTERNAL
details = "Exception deserializing response!"
debug_error_string = "None"
>
Edited by Sergio Cava