Twitter Card Invalid Domain Pattern


#1

Trying to create a Twitter card for Snap Kitchen’s blog. Keep receiving an 'Invalid Domain Pattern" message

http://blog.snapkitchen.com/healthy-spring-meals/


#2

Are you guys still seeing this issue on your side? Running your card through the validator myself was successful.


#3

Jon,

Just sent a tweet and there’s no Twitter card


#4

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.


#5

Hmm still received ‘Invalid Domain Pattern’


#6

Do you receive this message from the validator or when you attempt to submit the approval form?


#7

Approval form


#8

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.


#9

Nope

The official blog URL is http://blog.snapkitchen.com


#10

Any luck with this? Having the same issue.


#11

We’re having the same issue. Anyone discover a solution?


#12

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


#13

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.


#14

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.


#15

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!


#16

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?
Thanks.


#17

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.


#18

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?
Thank you


#19

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"/>

to this:

<meta name="twitter:domain" content="blog.millerostock.com"/>

#20

Hi Jbulava
Thank you for your quick reply. Where do I change the meta name? Sorry I’m new at this