Closed AetherUnbound closed 1 year ago
Potentially introduced in #1113
@AetherUnbound Ahhh, interesting edge case. The falsey check on results
needs to wrap the entire block of page size checks, right?
That's right! I'm working on a fix now that I'm about to get up for PR 😄
Sentry link
https://openverse.sentry.io/share/issue/eaeee780feef4a96944d4e5ef4e6d39b/
Description
It appears as though the value of
results
can beNone
during the tallying step:This is right after a log line,
no image urls to validate
Reproduction
I am able to reproduce this with the URL: https://api.openverse.engineering/v1/images/?license=by,by-nd,by-sa,cc0,pdm&license_type=commercial&filter_dead=true&mature=false&size=medium,large&page_size=100&page=1&q=kobinet
Note: You must use an authenticated app to request
page_size=100
; I tried pages 1-10 of the basepage_size
and I was unable to reproduce the error.