powerful-spoon-16837
02/24/2026, 10:00 AMlate-ambulance-66508
02/24/2026, 11:50 AMlate-ambulance-66508
03/23/2026, 12:00 PM- the SDK sendsfor feature requestsIf-None-Match
- when the server returns,304turns it into an error: “Not Modified - Use cached data”NetworkClient
-then goes through the failure path and falls back to cached featuresFeaturesViewModel
-reports this viaGrowthBookSDKrefreshHandler(.failedToFetchData)
So from the app side, feature delivery is effectively OK because cached features are reused, but the refresh is still reported as an error.
This causes false-positive error analytics and can also trigger unnecessary retry logic. Also, the original HTTP 304 seems to get collapsed into generic, so integrators can’t distinguish “not modified, cache still valid” from a real network failure..failedToFetchData
Relevant code:
- NetworkClient: https://github.com/growthbook/growthbook-swift/blob/1.0.97/Sources/CommonMain/Network/NetworkClient.swift#L54-L105
- FeaturesViewModel: https://github.com/growthbook/growthbook-swift/blob/1.0.97/Sources/CommonMain/Features/FeaturesViewModel.swift#L97-L109
- GrowthBookSDK: https://github.com/growthbook/growthbook-swift/blob/1.0.97/Sources/CommonMain/GrowthBookSDK.swift#L525-L528
late-ambulance-66508
03/23/2026, 12:01 PMfailedToFetchData eventspowerful-spoon-16837
03/23/2026, 3:52 PMpowerful-spoon-16837
03/24/2026, 12:36 PMlate-ambulance-66508
03/24/2026, 12:37 PMpowerful-spoon-16837
04/02/2026, 7:59 AMlate-ambulance-66508
04/02/2026, 11:39 AM