Product Cards Validator - "Invalid image. This image cannot be fetched"


#1

Hi,

I am trying to try/validate a Twitter Product card before adding the meta tags to the webpage. The validator is throwing the error “Invalid image. This image cannot be fetched” for the twitter:img:src tag even though the image URL is correct.

Here is the URL in the twitter:img:src tag that’s throwing the error:

<meta name="twitter:image:src" content="http://myntra.myntassets.com/images/style/style_search_image/CAT-Unisex-Messenger-Bag_847e5e2abed241be192dfa620b9c1d1d_images_180_240_mini.jpg" >

The image is accessible at the given URL: http://myntra.myntassets.com/images/style/style_search_image/CAT-Unisex-Messenger-Bag_847e5e2abed241be192dfa620b9c1d1d_images_180_240_mini.jpg

Is there something that I am missing?

Thanks


#2

It seems you need to use png or gif to validate, but I think jpg is OK to use … not sure why this is throwing an error, but I see it also with jpgs.


#3

I am also having this problem.

@anand though I see you are using twitter:image:src which is not in the docs. Should just be twitter:image I think.


#4

the image might be too small. i had the same error and i bumped up the image size to 600x600 and it worked fine.


#5

It’s very strange, but I solved this problem by adding WWW to image url.
For example, http://site.com/image.jpg caused an error. On the other hand, this url: http://www.site.com/image.jpg was succesfully validated.