microsoft / microsoft/PackageUploader
Response status code does not indicate success: 404
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 66
- Forks
- 19
- Avg merge
- 21h
- Merged PRs (30d)
- 1
Description
After setting up automatic uploading, we noticed that sometimes after uploading zip and msixvc files, a 404 error occurs (sometimes as in the example after validator) and the remaining files do not upload. At the same time, 5 uploads may occur normally, and on the 6th, this may happen (it does not matter if they are consecutive or split by days).
2026-02-17 21:31:20.732 info: PackageUploader.ClientApi.Client.Xfus.Uploader.XfusUploader[0] Upload 100% complete.
2026-02-17 21:31:23.177 info: PackageUploader.ClientApi.Client.Xfus.Uploader.XfusUploader[0] Validator_{FILE_NAME}.xml Upload complete in: (HH:MM:SS) 00:00:05.
2026-02-17 21:31:23.813 fail: PackageUploader.ClientApi.Client.Ingestion.IngestionHttpClient[0] Exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() + 0xde at PackageUploader.ClientApi.Client.Ingestion.Client.HttpRestClient.<PutAsync>d__14`2.MoveNext() + 0x32b
2026-02-17 21:31:23.813 fail: PackageUploader.ClientApi.PackageUploaderService[0] An error occurred while uploading the package '{FILE_NAME}.msixvc' to branch '{BRANCH_NAME}' in product '{PRODUCT_NAME}'. System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() + 0xde at PackageUploader.ClientApi.Client.Ingestion.Client.HttpRestClient.<PutAsync>d__14`2.MoveNext() + 0x4ed --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at PackageUploader.ClientApi.Client.Ingestion.Client.HttpRestClient.<PutAsync>d__12`1.MoveNext() + 0x109 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at PackageUploader.ClientApi.Client.Ingestion.Client.HttpRestClient.<PutAsync>d__11`1.MoveNext() + 0x103 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at PackageUploader.ClientApi.Client.Ingestion.IngestionHttpClient.<CommitPackageAssetAsync>d__10.MoveNext() + 0x443 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at PackageUploader.ClientApi.PackageUploaderService.<UploadAssetAsync>d__23.MoveNext() + 0x35c --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at PackageUploader.ClientApi.PackageUploaderService.<UploadGamePackageAsync>d__13.MoveNext() + 0xfb0
2026-02-17 21:31:23.813 fail: PackageUploader.Application.Operations.UploadXvcPackageOperation[0] Response status code does not indicate success: 404 (Not Found).
2026-02-17 21:31:23.813 info: PackageUploader.Application.Operations.UploadXvcPackageOperation[0] PackageUploader has finished running.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Client/Ingestion/Client/HttpRestClient.PutAsync and follow the calls through IngestionHttpClient.CommitPackageAssetAsync, PackageUploaderService.UploadAssetAsync, and UploadGamePackageAsync. Reproduce an automatic multi-file upload and inspect the request and response around the intermittent 404. Done means the affected package and remaining files upload successfully without the failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100