Re-Open issue: "DurableTaskClient.PurgeAllInstancesAsync causing a lot of warnings: 404 The specified container does not exist." https://github.com/microsoft/durabletask-dotnet/issues/475
- Dominant language
- C#
- Stars
- 1.7k
- Forks
- 335
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 6
Description
Not sure how to re-open an issue from durabletask-dotnet, but @YunchuWang told me to re-open issue https://github.com/microsoft/durabletask-dotnet/issues/475 here, if there is still a problem. So, because there is still a problem/question I re-open the issue here.
When running the code below I get a lot of warnings.
Code:
```csharp
public async Task PurgeAllInstances(DurableTaskClient client, DateTime fromDate, DateTime toDate, IEnumerable runtimeStatus)
{
PurgeInstancesFilter filter = new PurgeInstancesFilter(fromDate, toDate, runtimeStatus);
PurgeInstanceOptions purgeInstanceOptions = new PurgeInstanceOptions();
PurgeResult purgeResult = await client.PurgeAllInstancesAsync(filter, purgeInstanceOptions, CancellationToken.None).ConfigureAwait(false);
}
```
Warning:
```log
Severity level: Warning, Message: Error response [9c10a80f-58e6-4378-bcb8-035c7b056089] 404 The specified container does not exist. (00.0s)
Server:Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id:b37ab98c-b01e-0009-1e8e-36c22c000000
x-ms-client-request-id:9c10a80f-58e6-4378-bcb8-035c7b056089
x-ms-version:2025-05-05
x-ms-error-code:ContainerNotFound
Date:Mon, 06 Oct 2025 06:59:59 GMT
Content-Length:225
Content-Type:application/xml
```
@YunchuWang ask me: "can you check in your azure function storage account if any blob containers is missing?". I can, I have no glue for which containers to look. So please let me know what containers should/shouldn't exist.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.