Handling HTTP error codes

Detailed reference of the Dapr HTTP error codes and how to handle them

For HTTP calls made to Dapr runtime, when an error is encountered, an error JSON is returned in response body. The JSON contains an error code and an descriptive error message.

{
    "errorCode": "ERR_STATE_GET",
    "message": "Requested state key does not exist in state store."
}