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
I'm trying to call with a PATCH request to another microservice using the Dapr client invoke.
Actual Behavior
When I call the Dapr client invoker with the PATCH verb, it throws the following error Error: 13 INTERNAL: failed to invoke, id: my_microservice, err: rpc error: code = Internal desc = error invoking app channel: rpc error: code = InvalidArgument desc = invalid HTTP verb
Steps to Reproduce the Problem
Call the GRPCClientInvoker class invoke with a PATCH request.
Possible Solution
On the enum of verbs for the HTTP requests you have the PATCH type, but, in the HttpVerb.util.js, the PATCH is not defined on the switch cases of the two methods. I think that adding the case for that verb will be a possible solution.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
johnvan7
added a commit
to johnvan7/js-sdk
that referenced
this issue
Sep 18, 2024
Expected Behavior
I'm trying to call with a PATCH request to another microservice using the Dapr client invoke.
Actual Behavior
When I call the Dapr client invoker with the PATCH verb, it throws the following error
Error: 13 INTERNAL: failed to invoke, id: my_microservice, err: rpc error: code = Internal desc = error invoking app channel: rpc error: code = InvalidArgument desc = invalid HTTP verb
Steps to Reproduce the Problem
Call the GRPCClientInvoker class invoke with a PATCH request.
Possible Solution
On the enum of verbs for the HTTP requests you have the PATCH type, but, in the HttpVerb.util.js, the PATCH is not defined on the switch cases of the two methods. I think that adding the case for that verb will be a possible solution.
Thanks in advance!
The text was updated successfully, but these errors were encountered: