Twitter Card Validator - Invalid url for image path



We are having an issue getting the image specified to appear in our twitter card.

The validator says
twitter:image 2014/ey-announcement-jpeg-2.jpg
Invalid URL

Here is a sample page:

The meta data on that page is:

<meta name='twitter:card' content='summary' />
<meta name='twitter:creator' content='@InvestNINews' />
<meta name="twitter:description" content="First Minister Rt. Hon. Peter D Robinson MLA, Department of Enterprise, Trade and Investment Minister Arlene Foster and Department of Employment and Learning Minister Dr Stephen Farry, today announced the creation of 486 jobs in a major development of EY’s UKI operations in Belfast. ">
<meta name="twitter:image" content=" 2014/ey-announcement-jpeg-2.jpg">
<meta name='twitter:site ' content='@InvestNINews' />
<meta name="twitter:title" content="EY Announces 486 jobs in Belfast">

The robots.txt on the domain where the images are found is:
User-agent: Twitterbot
Disallow: *
Allow: /static

I have searched the web but cannot see a solution, please advise.


Hello Invest NI,

Could you please try re-submitting to the validator after removing the space character in the image URL? You can also encode it using “%20”:

Please let us know if that fixes your issue.

Twitter Cards not working - "details" link missing

Did the encoding fixed the problem @investNI?


Additionally, I’m getting a 302 when CURL’ing the URL:

[tw-mba-rchoi sample-django-app (master)]$ curl -A “Twitterbot/1.0” 2014/ey-announcement-jpeg-2.jpg

302 Found

302 Found