Twitter 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.

While the image is accessible at the following URL, the validator throws the error that “Invalid image. This image cannot be fetched”

Is there something that I am missing?

Thanks.


#2

Hi there - we did some testing on this, and it appears that your robots.txt file is preventing us from crawling for the image. I’d recommend taking a look at allowing Twitterbot to fetch the image by following the instructions we’ve outlined here: https://dev.twitter.com/docs/cards/getting-started#crawling


#3

I’ve having the same problem validating https://beta.cameo.tv/c/1525

Our robots.txt on the image’s server http://api.beta.cameo.tv/robots.txt is

User-agent: Twitterbot
Disallow:

User-agent: *
Disallow: /

Any help?


#4

@cameoapp i’m not an official twitter guy but it might be because that url redirects to to the actual image source.


#5

[]


#6

Hi! Following your advice, I update robot.txt:
http://origin-media.share.pho.to/robots.txt

this is the test image:
http://origin-media.share.pho.to/1yDeZ/ff053783_ss.jpeg

robots.txt was updated 2 days ago, but problem still exists “Invalid image. This image cannot be fetched”. Have you any other suggestions? Thanks!


#7

Redirects are a pretty critical part of our infrastructure. The weird thing is that the validator works for some of our pages on some of our environments, and used to work for all of them.


#8

anyone know why image meta tag wont work in the validator here; http://beta.tabble.com/event/33800849-Sofitel

it keeps saying: Invalid image. This image cannot be fetched

the image url actually a redirect, is that a problem ?