Flutter_cached_network_image: Unhandled Exception: HttpException: No valid statuscode. Statuscode was 404

Created on 16 Aug 2019  路  4Comments  路  Source: Baseflow/flutter_cached_network_image

I am still getting this error with cached_network_image: ^1.1.1 and the latest flutter version.
Can anyone help me to solve this?

My Flutter Doctor: I tried both master and stable channel, but got the same result

Doctor summary (to see all details, run flutter doctor -v):
[鉁揮 Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G87, locale
    en-HK)

[鉁揮 Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[鉁揮 Xcode - develop for iOS and macOS (Xcode 10.2.1)
[鉁揮 iOS tools - develop for iOS devices
[鉁揮 Android Studio (version 3.4)
[鉁揮 VS Code (version 1.37.1)
[鉁揮 Connected device (1 available)

Most helpful comment

I got the same error
Exception: HTTP request failed, statusCode: 404

And the widget can't build at all. I understand the image URL is not found but instead of crashing the app we should return the errorWidget. Shouldn't we?

All 4 comments

I got the same error
Exception: HTTP request failed, statusCode: 404

And the widget can't build at all. I understand the image URL is not found but instead of crashing the app we should return the errorWidget. Shouldn't we?

it seems duplicated #216

duplicate #245 #242

Closing as duplicate of #273

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Gavin-1991 picture Gavin-1991  路  6Comments

sososdk picture sososdk  路  5Comments

gregko picture gregko  路  6Comments

yossefEl picture yossefEl  路  4Comments

creativecreatorormaybenot picture creativecreatorormaybenot  路  4Comments