Trying to create a Twitter card for Snap Kitchen’s blog. Keep receiving an 'Invalid Domain Pattern" message
Are you guys still seeing this issue on your side? Running your card through the validator myself was successful.
Just sent a tweet and there’s no Twitter card
Ah, I see. Before your card can be used, you need to submit it for approval. To do that, go to the card validator (https://dev.twitter.com/docs/cards/validation/validator), click your card type (summary with large image), click the “Validate & Apply” tab and paste one of your URLs (e.g. http://blog.snapkitchen.com/healthy-spring-meals/). Click the “Request Approval” button that appears and when you receive a message that your card has been approved, you should be good to go.
Hmm still received ‘Invalid Domain Pattern’
Do you receive this message from the validator or when you attempt to submit the approval form?
After asking around, it sounds like this could be caused by your example URL not matching the “Website Domain” in the approval form. Are you changing this to something other than “blog.snapkitchen.com?” If so, try leaving it as is. The other possible scenario for the error is attempting to register a sub-domain when the domain is already registered, but I do not see any cards for snapkitchen.com.
Any luck with this? Having the same issue.
We’re having the same issue. Anyone discover a solution?
I had the same error and put the code meta name=“twitter:domain” content="" into my header code and replaced the content= with my domain name and it worked.
Make sure you put the code in between < > The code didn’t show up when I put it in the comment . . . lol
Hey @StrangLoopGame, are you still having domain name issues with the validator? I couldn’t find a URL on your domain where you may be using cards. Let me know if I can help.
Hey @HyraxLLC, are you still having domain name issues with the validator? I couldn’t find a URL on your domain where you may be using cards. Let me know if I can help.
Hey @snapkitchen, looping back on some older posts. Apologies for not getting back to this one. It looks like you have cards running successfully now. If you have any questions, please let me know!
Hello @jbulava, having the same problem. I recently whitelisted *.ondeckdigital.com and created a subdomian, share.ondeckdigital.com which I thought would be whitelisted but when I check the card validator and request whitelisting I get this error:
*.share.ondeckdigital.com whitelist request failed
ERROR: Invalid domain pattern
Can you assist please? Is the an error in my tags?
Your assumption is correct; if Cards were validated for http://ondeckdigital.com, then they should also work on http://share.ondeckdigital.com. Make sure that you are validating with a full working URL, not “*.share.ondeckdigital.com.” Feel free to provide an example that may not be working so I can help further.
Hi Twitter staff
I’m getting a red box saying blog.millerostock.com whitelist request failed.
ERROR: Invalid domain pattern. What do I need to do? Please help?
Hi @millerostock, your twitter:domain tag is currently set to a title, but it should be a URL. You can either remove the tag altogether and change it from this:
<meta name="twitter:domain" content="Wear About Style"/>
<meta name="twitter:domain" content="blog.millerostock.com"/>
Thank you for your quick reply. Where do I change the meta name? Sorry I’m new at this