Failed to fetch file due to error "Client error: `GET https://X.use-cocoon.nl/img_4221.jpg` resulted in a `401 Unauthorized` response:

I think the thumbnail size 500px is not available:

Notice: Undefined index: 500px in Drupal\cocoon_media\CocoonController->getThumbInfo() (line 226 of //modules/cocoon_media/src/CocoonController.php)

Comments

scuba_fly created an issue. See original summary.

scuba_fly’s picture

Title: 401 eroor » Failed to fetch file due to error Client error: 401

  • scuba_fly committed 3a62fc4 on 8.x-2.x
    Issue #3083240 by scuba_fly: Failed to fetch file due to error Client...
scuba_fly’s picture

Status: Needs work » Fixed

Fix committed, it will now take the first availabe key from the getThumbTypes method.
This should be the smallest thumb available.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.