In the Facebook debugger, scraping the URL "https://www.givingway.com/organization/the-light-and-leadership-initiative" yields the error:
Corrupted Image
Provided og:image URL, https://d141thk7ygtt3c.cloudfront.net/043a7261-eb4f-48ce-9db6-8cbeefcf86df.jpg could not be processed as an image. It may be corrupted or may have an invalid format.
At the same time scraping the URL "https://www.givingway.com/organization/youth-in-action-against-poverty-and-hivaids-yaapha" works fine.
I can't figure out what causes this issue, as both pages:
- are both produced from the same template, and share the same HTML structure.
- have an og:image with the same structure.
<meta property="og:image" content="https://d141thk7ygtt3c.cloudfront.net/043a7261-eb4f-48ce-9db6-8cbeefcf86df.jpg" />
<meta property="og:image" content="https://d141thk7ygtt3c.cloudfront.net/b954d1df-57e6-4beb-acae-2916997a8e4e.jpg" />
- Both images are JPEG.
- Opening the image URL in a separate tab displays an image - which isn't the behavior I'd expect from a corrupted page.
This inconsistency occurs on various pages - certain pages are scraped successfully, while others aren't.