Getting an "Invalid card type" error in validator - all meta tags appear to be correct

raptorsrepublic
@raptorsrepublic Raptors Republic

I've added what I think are the correct meta tags to my site, but am getting an error in the validator.

Here's the URL I'm running through the validator: http://www.raptorsrepublic.com/2013/10/09/practice-recap-valanciunas-english-cumulative-talent-ross-laid-back/

Here's a screenshot of the error: http://i.imgur.com/eKIVQvQ.png

Here are the twitter-related meta tags in the page:

  1. <meta name="twitter:card" content="summary">
  2. <meta name="twitter:domain" content="raptorsrepublic.com">
  3. <meta name="twitter:url" content="http://www.raptorsrepublic.com/2013/10/09/practice-recap-valanciunas-english-cumulative-talent-ross-laid-back/">
  4. <meta name="twitter:site" content="@raptorsrepublic">
  5. <meta name="twitter:title" content="Practice Recap, Valanciunas&#8217; English, Cumulative Talent, Ross Laid Back?  ">
  6. <meta name="twitter:description" content="Recapping the practice, looking back at some wings and debating whether the current 'big three' is the best one we've had in years, and some Valanciunas and Ross talk, including a GIF or two."/>
  7. <meta property="twitter:image" content="http://www.raptorsrepublic.com/wp-content/uploads/2013/02/ross.jpg"/>
  8. <meta name="twitter:creator" content="@CornerSniper">
46 weeks 5 days ago

Replies

froginthevalley
@froginthevalley Sylvain Carle

Thanks for reporting, we will investigate.

46 weeks 5 days ago
iwsoft
@iwsoft iWsoft

Please Help. I add the correct meta tags but am getting an error un validator http://www.diariodebolsillo.com.pa/node/904

46 weeks 4 days ago
matchbox20
@matchbox20 LiveTV-بث مباشر

Same here
My photo card was working fine till few hours ago, suddenly no twitter card is displayed and when i tried the validator it says error although nothing has changed in the meta tags!

My website is:
http://aa-tube.blogspot.com

46 weeks 4 days ago
matchbox20
@matchbox20 LiveTV-بث مباشر

its working now on twitter

I think the issue is gone and the card is back to normal but still some problem with the validator that should be fixed

46 weeks 4 days ago
raptorsrepublic
@raptorsrepublic Raptors Republic

Nope, still not working for the case described in this ticket.

46 weeks 4 days ago
rchoi
@rchoi Ryan Choi

@raptorsrepublic,

Can you try adding this to your page and trying again?

46 weeks 3 days ago
raptorsrepublic
@raptorsrepublic Raptors Republic

Sorry, adding what to my page?

46 weeks 3 days ago
rchoi
@rchoi Ryan Choi

Sorry go to this page and look for the META tag with Content-Type

https://dev.twitter.com/docs/cards/troubleshooting

46 weeks 2 days ago
raptorsrepublic
@raptorsrepublic Raptors Republic

Thanks for the tip. I updated the code and tried the validator again, still did not work and getting the same error. Would it be worth mentioning that the site is hosted in Germany with Hetzner?

46 weeks 1 day ago
rchoi
@rchoi Ryan Choi

After some heroic investigation on our engineering side, we found what might be the cause.

It turns out, our fetcher does some canonization of URLS, transforming http://www.raptorsrepublic.com/2013/10/09/practice-recap-valanciunas-english-cumulative-talent-ross-laid-back/ into http://www.raptorsrepublic.com/2013/10/09/practice-recap-valanciunas-english-cumulative-talent-ross-laid-back (Note the missing trailing slash on the second one.)

When I type the above no-trailing-slash URL in a browser, I get an empty page. Hence, the "Invalid Card type".

I also noticed that you're hosting a WordPress site. When I look at other Wordpress sites, I see it handle the no-trailing-slash gracefully by redirecting to the trailing slash version. Here are some examples:

http://metro.co.uk/2013/10/15/jimmy-savile-in-his-own-sick-words-police-release-transcripts-4147828
http://snoopdogg.com/2013/10/15/nemo-hoes-interviews-rob-dyrdek-on-the-new-ggn
http://www.charitywater.org/blog/get-water-game

Again, all redirect to the same URL with a trailing slash.

I can ask the engineers to take a look, but I know that may take some time. So I wonder, do you happen to know why your WordPress site is different than other ones, and is there something different in the configuration we could change to have it gracefully redirect like other wordpress sites?

Know it's maybe not the most helpful, but I want to get you up and running soon -- know you've been patient.

Thanks a ton!

45 weeks 5 days ago
raptorsrepublic
@raptorsrepublic Raptors Republic

Awesome! That was it. Working perfectly now. Just submitted an approval request.

45 weeks 5 days ago
rchoi
@rchoi Ryan Choi

Great to hear, and sorry for the delay. Any pointers as to what was going on with the trailing /, so all of our other WordPress users who face the same problem can learn?

Thanks again for following up!

Ryan

45 weeks 4 days ago
webdekd
@webdekd เว็บ Dek-D.com

I'm getting like this too. ( example's URL: http://www.dek-d.com/activities/33117/ )
Please help.

46 weeks 4 days ago
jonjongoco
@jonjongoco Neil Ross Goco Jr

Also getting this error today.

Sample URL: http://www.misterjonjon.com/2013/10/singtel-globe-samsung-partnership.html
Sample Tweet: https://twitter.com/jonjongoco/status/388172827666296832

46 weeks 4 days ago
SirCrumpet
@SirCrumpet Eugene Turner

I'm seeing this issue too - the validator is reporting "Invalid card type." for sites that definitely have correct meta data, eg. NY Times (sample URL: http://dealbook.nytimes.com/2013/10/03/twitter-discloses-its-i-p-o-plans/)

46 weeks 4 days ago
rchoi
@rchoi Ryan Choi

Thanks for the responses and issues raised. Our fetcher was on the fritz on and off in the last 24 hours. It's mostly OK.

@raptorsrepublic, I'm still seeing the same issue for you. I'll keep investigating your particular case.

46 weeks 4 days ago
webdekd
@webdekd เว็บ Dek-D.com

The validator allows me to request an approval now but it is automatically rejected by email ?
I don't have any idea to do now.

example's URL:
http://www.dek-d.com/education/33118/
http://www.dek-d.com/board/view/3067762/
http://writer.dek-d.com/puntanan/story/view.php?id=884612

46 weeks 3 days ago
GT565K
@GT565K Mladen Yakimov

It's happening to me as well

http://www.agencyspotter.com/experiencerethink

Invalid card type.

46 weeks 3 days ago
rchoi
@rchoi Ryan Choi

It looks like this instance works. Please feel free to try again.

45 weeks 5 days ago
loveofthedesert
@loveofthedesert Stephen (Steve) Love

Resolved. Thanks!

46 weeks 9 hours ago
rchoi
@rchoi Ryan Choi

Hi Stephen!

Do you know what specifically worked, so others can try the same thing? (Or was it just re-trying?)

Thanks!

45 weeks 6 days ago
OzTazman
@OzTazman Dave van Horik

Could the people that had there issue resolved give some feedback on what resolved the issue. I am having similar problems and am curious to the solutions.

33 weeks 2 days ago
eatcookexplore_

I just tried validating for my site but am getting Invalid card type. http://www.eatcookexplore.com

Is the validator not working again?

29 weeks 5 days ago
rchoi
@rchoi Ryan Choi

Hi there. It may take a couple attempts, but it'll show your card and a submit button.

BTW, you'll need to change your twitter:creator tag to a real username:

29 weeks 3 days ago
rosannachit
@rosannachit Rosanna Chittenden

I'm having no luck at all! Cannot validate my twitter card.
Can get a preview - this is the meta stuff..:

  1. <meta name="twitter:card" content="summary_large_image">
  2. <meta name="twitter:site" content="">
  3. <meta name="twitter:title" content="Rosanna Chittenden: Portraits, Paintings and Drawings">
  4. <meta name="twitter:description" content="Figurative artist specialising in oil or pastel portraits of adults, children, families and animals. Based in UK. ">
  5. <meta name="twitter:creator" content="">
  6. <meta name="twitter:image:src" content="">
  7. <meta name="twitter:domain" content="">
  8. <meta name="twitter:app:name:iphone" content="">
  9. <meta name="twitter:app:name:ipad" content="">
  10. <meta name="twitter:app:name:googleplay" content="">
  11. <meta name="twitter:app:url:iphone" content="">
  12. <meta name="twitter:app:url:ipad" content="">
  13. <meta name="twitter:app:url:googleplay" content="">
  14. <meta name="twitter:app:id:iphone" content="">
  15. <meta name="twitter:app:id:ipad" content="">
  16. <meta name="twitter:app:id:googleplay" content="">

But when I try and validate it I just get the invalid card type. Have tried with backslash at the end and without.
Any ideas what I am doing wrong?
website: www.rchittenden.co.uk

18 weeks 4 days ago
jbulava
@jbulava Jon Bulava

Hi Rosanna, our validator will fail if you use tags with empty values. If they are not going to be used, leave them out altogether.

And an image URL is required for the summary with large image card, so you will need to fill in your twitter:image:src tag for the card to render. Do not forget to keep in mind that this image should be at least 280px in width, at least 150px in height, and less than 1MB in size.

So I believe everything should work fine once your code looks something like this:

  1. <meta name="twitter:card" content="summary_large_image">
  2. <meta name="twitter:title" content="Rosanna Chittenden: Portraits, Paintings and Drawings">
  3. <meta name="twitter:description" content="Figurative artist specialising in oil or pastel portraits of adults, children, families and animals. Based in UK. ">
  4. <meta name="twitter:image:src" content="http://url-to-your-site.com/example-image.jpg">
18 weeks 4 days ago
dimitarcho
@dimitarcho Dimitar Serafimov

Hi Ryan/Jon,

I am receiving an "invalid car type" error, while i try to validate player card for a video page on my site.
In the preview, i see that it is displayed correctly.

What could be the problem?

Page:
https://rumble.com/v2z8b9-unbelievable-baby-swims-across-pool.html
Player URL: https://rumble.com/embed/8.2z8b9/

Thanks!

8 weeks 6 days ago
andypiper
@andypiper Andy Piper

Hi Dimitar, I cannot see any cards metadata markup (meta name="twitter:...") tags in your page source, so the page doesn't validate for me. Did you think you'd added the tags?

8 weeks 5 days ago
FramesDirect
@FramesDirect Frames Direct

I have a similar problem where I get the "Invalid card type." error.

I'm using Google Tag Manager to push the meta tags into my product pages.

For example on this page, http://www.framesdirect.com/framesfp/Ray-Ban_RX-tdsjod/r.html, developer tools or firebug show the correct meta data added. If this is a problem with the tag manager implementation, is there a way to do this via GTM?

Here is the resulting meta data via firebug:

  1. <meta name="Content-Type" content="text/html; charset=UTF-8">
  2. <meta content="product" name="twitter:card">
  3. <meta content="@FramesDirect" name="twitter:site">
  4. <meta content="@FramesDirect" name="twitter:creator">
  5. <meta content=" Ray-Ban RX5228 Eyeglasses | Free Shipping " name="twitter:title">
  6. <meta content="Ray-Ban RX5228 Eyeglasses - The collection is available in a variety of styles, including plastic, metal & rimless." name="twitter:description">
  7. <meta content="http://www.framesdirect.com/product_large_images/RayBanRX_eye_RB5228_2012_Angle.jpg" name="twitter:image:src">
  8. <meta content="Price" name="twitter:label1">
  9. <meta content="$136.00" name="twitter:data1">
  10. <meta content="www.framesdirect.com" name="twitter:domain">

Thank you for the assistance.

8 weeks 5 days ago
rchoi
@rchoi Ryan Choi

Hi @FramesDirect,

When I view source of your page, I don't see any meta tags, or twitter:card. Perhaps I'm missing something?

8 weeks 4 days ago
FramesDirect
@FramesDirect Frames Direct

Thanks, Ryan. Not sure why my post isn't showing up currently.

I think I figured it out. I'm using Google Tag Manager to push those into my product pages but found somewhere that Twitter only reads the page HTML versus anything inserted via JS. So, I'll have to push this during a code update.

Thanks for checking.

8 weeks 4 days ago