The issue was that the server wasn’t returning a ‘Content-Type’ header. It would be helpful if the error message was more explicit.
When I see, “Invalid card type,” I assume that the parser was able to parse out the card type, when in reality the parser was unable to parse the page at all. An error message like, “Unable to parse meta tags” would be much more helpful.