wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.63k stars 1.1k forks source link

Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureRea... #15870

Open jkmassel opened 3 years ago

jkmassel commented 3 years ago

Sentry Url: https://sentry.io/share/issue/eb331d147e8749af9d475641b46704bf/ User Count: 6 Count: 39 First Release: 16.7.0.20210208 First Seen: 2021-02-09T07:51:43.339000Z Last Seen: 2021-02-11T20:19:55Z 24 Hours: 8 30 Days: 40

Alamofire.AFError.responseValidationFailed(reason: Alamofire.AFError.ResponseValidationFailureRea...
startuptester commented 3 years ago

@guarani as the CTOW, can you please take a look?

ceyhun commented 3 years ago

Assigning low priority as currently it affects ~500 users and since it doesn't seem to be a crash but a logged error.

bjtitus commented 3 years ago

I made a change (https://github.com/wordpress-mobile/WordPress-iOS/pull/16314) to stop logging 404 errors as they would be expected when no site icon exists. This should reduce the volume of these errors by roughly half. Next steps should be to investigate the 400s (the next largest error group). I have a theory that they may be caused when Photon requests are made with bad parameters or when the URL passed to Photon has some kind of error.