dapr / dapr/dotnet-sdk

InvokeBindingAsync throws a DaprException with status code internal and only 404 in the detail message

Open
#1,142 1 comment 0 reactions 0 assignees View on GitHub
kind/bug
Dominant language
C#
Stars
1.2k
Forks
378
Avg merge
2d 1h
Merged PRs (30d)
6

Description

When a binding invocation executes, I expect to see the same http response code in the DaprException
Currently when a 404 is returned from an external service, the DarpException StatusCode is Internal

![image](https://github.com/dapr/dotnet-sdk/assets/4865355/33b50911-01d7-4f61-b926-28cdf89a3230)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.