You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a feed which provides CDN image paths, we have these linked to an asset field to import but the origin server throws a 403 Forbidden error on requests for the image which are lacking a User-Agent value. I confirmed it locally by running wget/curl with and without.
Example error
thumbImage - Asset error: https://cdn.ticketsource.co.uk/images/promoter/banner/66148-1713969775145-m.png - fopen(https://cdn.ticketsource.co.uk/images/promoter/banner/66148-1713969775145-m.png): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden .
The setting assetDownloadCurl exists, but the issue is there is no way to set additional curl options on the asset download request
fopen can also provide HTTP headers as well, but this is currently not possible to define without forking or using FeedMe events to fetch the image with a client that provides the required headers.
Additional info
Craft version: 5.4.9
PHP version: 8.3
Database driver & version: MySQL 8.0
Plugins & versions: FeedMe 6.5.0
The text was updated successfully, but these errors were encountered:
Description
I have a feed which provides CDN image paths, we have these linked to an asset field to import but the origin server throws a 403 Forbidden error on requests for the image which are lacking a User-Agent value. I confirmed it locally by running wget/curl with and without.
Example error
The setting assetDownloadCurl exists, but the issue is there is no way to set additional curl options on the asset download request
fopen can also provide HTTP headers as well, but this is currently not possible to define without forking or using FeedMe events to fetch the image with a client that provides the required headers.
Additional info
The text was updated successfully, but these errors were encountered: