# Invalid timestamp

## Description

An invalid timestamp issue occurs when a [`review`](https://developers.google.com/merchant-review-feeds/xmlschema#<review>)
or [`merchant`](https://developers.google.com/merchant-review-feeds/xmlschema#<merchant>) contains
a `create_timestamp` or `last_update_timestamp` that is invalid or when
`create_timestamp` is after `last_update_timestamp`.

## How to fix

Deliver the [`review`](https://developers.google.com/merchant-review-feeds/xmlschema#<review>) or
[`merchant`](https://developers.google.com/merchant-review-feeds/xmlschema#<merchant>) ensuring that
`create_timestamp` and `last_update_timestamp` are valid.

## Example

On March 1st, you upload the feed file "2017_03_01.xml" to your endpoint. The file contains the
following contents:

```
<merchant id="2739">
  <name>Google Store</name>
  <merchant_url>http://store.google.com</merchant_url>
  <rating_url>http://www.example-reviews.com/m2739.html</rating_url>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-02-25T03:01:32Z</last_update_timestamp>
</merchant>
```

The above file contains a [`merchant`](https://developers.google.com/merchant-review-feeds/xmlschema#<merchant>)
entry whose `create_timestamp` is after `last_update_timestamp`. After
processing your feed, the support team notifies you that a data issue, invalid timestamp, has occurred.

A few days later, after reviewing the documentation, you upload the file "2017_03_04-fix.xml"
to your endpoint to resolve the invalid rating issue:

```
<merchant id="2739">
  <name>Google Store</name>
  <merchant_url>http://store.google.com</merchant_url>
  <rating_url>http://www.example-reviews.com/m2739.html</rating_url>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-02-25T03:02:23Z</last_update_timestamp>
</merchant>
```