Facebook Graph API suddenly cannot fetch my public WordPress media URL

Hi all, As the title suggests, when I upload my image to the WordPress media library and obtain the URL, the image is publicly accessible and meets Instagram’s image requirements. I have tested the link previously, and it successfully created the container ID. However, today, all URLs from my WordPress media can no longer be fetched by the Facebook Graph API. I’m receiving an error with sub-error code 2207052, stating that “The media could not be fetched from this URI.” Does anyone know what might be causing this issue?

For more information, I self-host n8n on my TrueNAS Scale, same as my WordPress website. Both are updated to the latest version.

Hi @Simon_Tang,

The error message from the API states that there seems to be something wrong with the filetype. It could be that your webserver is not serving the images with the correct mime-type.

Please check whether the filetype that is returned from your webserver is actually reported as an image (you can often do so using curl or using the developer tools in your browser).