Dấu thời gian không hợp lệ

Mô tả

Vấn đề về dấu thời gian không hợp lệ xảy ra khi review hoặc merchant chứa create_timestamp hoặc last_update_timestamp không hợp lệ hoặc khi create_timestamp xuất hiện sau last_update_timestamp.

Cách khắc phục

Phân phối review hoặc merchant, đảm bảo rằng create_timestamplast_update_timestamp là hợp lệ.

Ví dụ:

Vào ngày 1 tháng 3, bạn tải tệp nguồn cấp dữ liệu "2017_03_01.xml" lên điểm cuối. Tệp này chứa nội dung sau:

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

Tệp ở trên chứa một mục merchantcreate_timestamp sau last_update_timestamp. Sau khi xử lý nguồn cấp dữ liệu của bạn, nhóm hỗ trợ sẽ thông báo cho bạn rằng đã xảy ra vấn đề về dữ liệu, dấu thời gian không hợp lệ.

Vài ngày sau, sau khi xem xét tài liệu, bạn tải tệp "2017_03_04-fix.xml" lên điểm cuối để giải quyết vấn đề về mức phân loại không hợp lệ:

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