Hello,
We apologize for the issue you are facing with your structured data validation. The warning about the "INVALID Country Code" could be due to a few reasons, even if you have specified "ES" correctly in Rank Math. Here are some steps you can take to troubleshoot and resolve this issue:
-
Double-check the Country Code: Ensure that you have entered the country code correctly in the Local SEO settings of Rank Math. It should be exactly "ES" without any extra spaces or characters.
-
Use Google’s Rich Results Test: After making any changes, you can refresh the analysis by re-testing your URL in the Google Rich Results Test. Just enter your URL again and click on the TEST URL button.

-
Check for Other Errors: Sometimes, other errors in your structured data can affect how Google interprets the country code. Make sure there are no other issues reported in the testing tool.
-
Wait for Re-indexing: After making changes, it may take some time for Google to re-index your page and reflect those changes. You can check back after a few days to see if the warning persists.
-
Consult Structured Data Guidelines: Review the structured data guidelines provided by Google to ensure compliance with their requirements.
If you continue to experience issues, please reply to this ticket with any additional details or screenshots, and a human agent from our support team will assist you further.
Thank you for raising this concern! We’re here to help you resolve it.
Sources:
How to Add Organization Schema Using Rank Math » Rank Math
Why Are My Rich Snippets Not Showing Up in Google Search? » Rank Math
OK, everything is resolved and it has already been refreshed in the GOOGLE STRUCTURED DATA analyzer.
For another question about how to add STRUCTURED DATA OF BROWSER PATHS TYPE, should I open a new ticket?
SOLUCIONADO EL ERROR DE CODIGO DE PAIS, NO SOLUCIONADO LA REVISION DE DATOS ESTRUCTURADOS DE TIPO RUTAS DE EXPLORACION
Hello,
Thank you so much for getting in touch.
We see that your concern in your other ticket has been addressed already.
Don’t hesitate to get in touch with us if you have any other questions.
Hello,
We are glad to know that this issue has been resolved. Thank you for letting us know.
This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.
We appreciate your patience and cooperation throughout this process.
Thank you for choosing Rank Math.