How to Fix datePublished: missing and required Error?

Remove Post Update error instantly by updating markup in data structure. Learn how to fix datePublished: missing and required Error from Blogger Template.

missing update error

In most of the Blogger template you will see an error about post publishing date. You won’t see this error on Blogger template because this is not visible. But if you check your Blogger template through Google structured Data testing tools then you would see this error. Please check your Blogger template by visiting below link-
The problem may arise for this error on your Articles Rich Snippets. Because search engine won’t able to display your Post’s rich snippet on search engine result page due to datePublished error. This is not exactly a major error but critical error for search engine result page. Because Search Robot won’t understand when your Blog post is updating? Because search engine always love latest updates from your Blog. And according to updates they will index the posts as soon as possible. For datePublished error search machine exactly can’t detect about your post update date as a result it will take time to index. For this reason your Posts won’t get higher position on search engine result page. So as soon as possible we should fix this error.

articles rich snippet error

Step 1 Go to and Sign in to your account

Step 2 From Blogger Dashboard click on ->Template ->Edit HTML 

Step 3 And locate script like below from your Blogger template

<span class='post-timestamp'>
                <b:if cond='data:top.showTimestamp'>
                  <b:if cond='data:post.url'>
                    <meta expr:content='data:post.canonicalUrl' itemprop='url'/>
                    <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>

Note that the above script may not exactly match with your Blogger template. But find similar code from your template. 

Step 4 Finally replace the above code by below script.

<span class='post-timestamp'>
               <span class='post-timestamp'>
<b:if cond='data:top.showTimestamp'>
      <b:if cond='data:post.url'>
          <a class='timestamp-link' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='published updated' expr:title='data:post.timestampISO8601' itemprop='datePublished'><data:post.timestamp/></abbr></a>

Step 5 Now simply hit the Save template button.

In the updated code I just brought a little change. You may notice that itemprop='datePublished' this simple line added in post published markup. And this will give more information to Search engine robot about post publishing date.

Now whenever you would publish content in your Blog then search robot can easily understand when your post has published. I mean exact publishing date.

article rich snippets error fixed

I hope now your datePublish error has fixed. For more surety check your template again through Google structured Data Testing Tools. And after solving this issue your Articles Rich Snippets will be error free and able to get better visibility on search engine result page. Happy Blogging!!!
Unknown says: 1/15/2016

Thanks Broski

BloggerSpice says: ADMIN 1/15/2016

Welcome Bro... :D

Sr. Faz Tudo says: 7/03/2016

I great post but in my case is not fixed yet :(

BloggerSpice says: ADMIN 7/04/2016

Hi Faz, In some template post-timestamp code remain twice. SO use the above code 2 times. Hope it will fix the issue.:up

Sr. Faz Tudo says: 7/08/2016

Thanks but still not fixed :(

BloggerSpice says: ADMIN 7/10/2016

There are another step you can try.. Just go to Blogger Dashboard ->Settings -> Lanugage and formatting->

Locate "Timestamp Format" and select time format like "7/10/2016" this from drop manu.

Your problem will solve now. Because Google search engine can't read all "Timestamp Format". :up

TimelessPost says: 10/09/2016

thank you for this work and help you have giving to me i like this blog

dwi says: 12/07/2016

Thank u mate,
hope it fixed :)

BloggerSpice says: ADMIN 12/07/2016

Hi DWI, You are most welcome. :-d

Anonymous 2/10/2017

hi, solved it in my site

BloggerSpice says: ADMIN 2/10/2017

Congrats Voti-fanta, I love to hear that this tutorial help you. :-bd

Alfarez says: 4/10/2017

Thank you so much bro, finally solved my problems on structured data testing tool

Binary options Mann says: 4/10/2017

Hi Rabbi
Did not work for me unfortunately. I tried what you suggested and also have it set in language and formatting. Any other suggestions?
Thanks, helpful site.

BloggerSpice says: ADMIN 4/12/2017

Hi Binary,
In some template post-timestamp code remain twice. One for homepage and another for post page. So replace both script by using the above code.
Thank you. ^_^

BloggerSpice says: ADMIN 4/12/2017

Hi Alfarez,
I'm so happy to hear that. Thank you. :dn

Jame says: 7/25/2017

Not work for me!

BloggerSpice says: ADMIN 7/28/2017

Hi Jame, ^_^
Many Blogger theme contain date publish script 2 times. So you have to replace both script by above script.

muchsin al-hamied says: 8/24/2017

I can not find this code because i using wordpress theme , how can i fix this error ?
this my website

BloggerSpice says: ADMIN 8/27/2017

Hi Muchsin
You can use different Plugins in WordPress. You don't have to fix it manually on WordPress theme.

Wolf says: 12/05/2017

Hi Rabbi :)
thank you, that solved my problem.
Best regards

BloggerSpice says: ADMIN 12/06/2017

Welcome Bro :)

FforFree says: 5/29/2018

After what time will the changes get reflected on my blog

BloggerSpice says: ADMIN 6/06/2018

Generally it will take 24 to 72 hours. :up

yalla shoot says: 11/21/2018

thank u very much dear it's work with me go ahead

Contact Form


Email *

Message *