diff --git a/ArchiSteamFarm/Steam/Integration/ArchiHandler.cs b/ArchiSteamFarm/Steam/Integration/ArchiHandler.cs index 7d2a7bb838a1d..8fb5aeb6d1d2c 100644 --- a/ArchiSteamFarm/Steam/Integration/ArchiHandler.cs +++ b/ArchiSteamFarm/Steam/Integration/ArchiHandler.cs @@ -239,6 +239,7 @@ public async IAsyncEnumerable GetMyInventoryAsync(uint appID = Asset.Stea ArchiLogger.LogGenericDebug(string.Format(CultureInfo.CurrentCulture, Strings.WarningFailedWithError, serviceMethodResponse.Result)); continue; + case EResult.Fail: case EResult.NoMatch: // Expected failures that we're not going to retry throw new TimeoutException(string.Format(CultureInfo.CurrentCulture, Strings.WarningFailedWithError, serviceMethodResponse.Result)); diff --git a/ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs b/ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs index 1d45c8f438ab1..d062c8c7d81fb 100644 --- a/ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs +++ b/ArchiSteamFarm/Steam/Integration/ArchiWebHandler.cs @@ -308,6 +308,7 @@ public async IAsyncEnumerable GetInventoryAsync(ulong steamID = 0, uint a case EResult.Timeout: // Expected failures that we should be able to retry continue; + case EResult.Fail: case EResult.NoMatch: // Expected failures that we're not going to retry throw new HttpRequestException(string.Format(CultureInfo.CurrentCulture, Strings.WarningFailedWithError, response.Content.ErrorText), null, response.StatusCode);