Error actor instance is missing
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 378
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 6
Description
## Ask your question here
I'm using .NET 6 and Dapr.Actors.AspNetCore version 1.8.0. I have an error: "actor instance is missing" when trying to load state via this.StateManager.GetStateAsync(). This error is not always but often occurs. Below is some information. How can I fix it?
`Dapr.DaprApiException: actor instance is missing
at async Task Dapr.Actors.DaprHttpInteractor.SendAsyncHandleUnsuccessfulResponse(Func requestFunc, string relativeUri, CancellationToken cancellationToken)
at async Task Dapr.Actors.DaprHttpInteractor.SendAsync(Func requestFunc, string relativeUri, CancellationToken cancellationToken)
at async Task Dapr.Actors.DaprHttpInteractor.GetStateAsync(string actorType, string actorId, string keyName, CancellationToken cancellationToken)
at async Task> Dapr.Actors.Runtime.DaprStateProvider.TryLoadStateAsync(string actorType, string actorId, string stateName, CancellationToken cancellationToken)
at async Task> Dapr.Actors.Runtime.ActorStateManager.TryGetStateAsync(string stateName, CancellationToken cancellationToken)
at async Task Service.Actors.GetAccountFromStateManagerAsync(CancellationToken cancellationToken) in /src/Service/Actor.cs:line 127
at async void Service.Actors.OnOrderUpdateEvent(object sender, OrderUpdateEventArgs updateEvent) in /src/Actor.cs:line 236`

Contributor guide
Assessment
This issue has not been assessed yet.