mirror of https://github.com/dapr/docs.git
Ading error codes returned by Dapr http calls. (#444)
This commit is contained in:
parent
9878e699d2
commit
97856ad387
|
@ -8,5 +8,6 @@
|
|||
- [Secrets](./api/secrets_api.md)
|
||||
- [Service Invocation](./api/service_invocation_api.md)
|
||||
- [State Management](./api/state_api.md)
|
||||
- [Error Codes](./api/error-codes.md) returned by Dapr APIs.
|
||||
- **[Dapr Binding Specs](./specs/bindings)**: Bindings provide triggers and interactions with external resources and services
|
||||
- **[Monitoring Dashboard templates](./dashboard/README.md)**: Monitoring dashboard templates help Dapr user to monitor Dapr services by importing templates to their monitoring tools
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
# Error Codes returned by APIs
|
||||
|
||||
For http calls made to Dapr runtime, when an error is encountered, an error json is returned in http response body. The json contains an error code and an descriptive error message, e.g.
|
||||
```
|
||||
{
|
||||
"errorCode": "ERR_STATE_GET",
|
||||
"message": "Requested state key does not exist in state store."
|
||||
}
|
||||
```
|
||||
|
||||
Following table lists the error codes returned by Dapr runtime:
|
||||
|
||||
Error Code | Description
|
||||
--------- | -----------
|
||||
ERR_ACTOR_INSTANCE_MISSING | Error getting an actor instance. This means that actor is now hosted in some other service replica.
|
||||
ERR_ACTOR_RUNTIME_NOT_FOUND | Error getting the actor instance.
|
||||
ERR_ACTOR_REMINDER_CREATE | Error creating a reminder for an actor.
|
||||
ERR_ACTOR_REMINDER_DELETE | Error deleting a reminder for an actor.
|
||||
ERR_ACTOR_TIMER_CREATE | Error creating a timer for an actor.
|
||||
ERR_ACTOR_TIMER_DELETE | Error deleting a timer for an actor.
|
||||
ERR_ACTOR_REMINDER_GET | Error getting a reminder for an actor.
|
||||
ERR_ACTOR_INVOKE_METHOD | Error invoking a method on an actor.
|
||||
ERR_ACTOR_STATE_DELETE | Error deleting the state for an actor.
|
||||
ERR_ACTOR_STATE_GET | Error getting the state for an actor.
|
||||
ERR_ACTOR_STATE_TRANSACTION_SAVE | Error storing actor state transactionally.
|
||||
ERR_PUBSUB_NOT_FOUND | Error referencing the Pub/Sub component in Dapr runtime.
|
||||
ERR_PUBSUB_PUBLISH_MESSAGE | Error publishing a message.
|
||||
ERR_PUBSUB_CLOUD_EVENTS_SER | Error serializing Pub/Sub event envelope.
|
||||
ERR_STATE_STORE_NOT_FOUND | Error referencing a state store not found.
|
||||
ERR_STATE_GET | Error getting a state for state store.
|
||||
ERR_STATE_DELETE | Error deleting a state from state store.
|
||||
ERR_STATE_SAVE | Error saving a state in state store.
|
||||
ERR_INVOKE_OUTPUT_BINDING | Error invoking an output binding.
|
||||
ERR_MALFORMED_REQUEST | Error with a malformed request.
|
||||
ERR_DIRECT_INVOKE | Error in direct invocation.
|
||||
ERR_DESERIALIZE_HTTP_BODY | Error deserializing an HTTP request body.
|
||||
ERR_SECRET_STORE_NOT_CONFIGURED| Error that no secret store is configured.
|
||||
ERR_SECRET_STORE_NOT_FOUND | Error that specified secret store is not found.
|
Loading…
Reference in New Issue