תיאור
בעיה של חותמת זמן לא תקינה מתרחשת כשמאפיין review
או merchant
מכיל create_timestamp
או last_update_timestamp
לא תקינים, או כשערך המאפיין create_timestamp
מאוחר יותר מערך המאפיין last_update_timestamp
.
איך לתקן
שולחים את review
או את merchant
ומוודאים ש-create_timestamp
ו-last_update_timestamp
תקינים.
דוגמה
ב-1 במרץ, אתם מעלים את קובץ הפיד 2017_03_01.xml לנקודת הקצה. הקובץ מכיל את התוכן הבא:
<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>
הקובץ שלמעלה מכיל רשומה של merchant
שבה הערך של create_timestamp
מופיע אחרי הערך של last_update_timestamp
. אחרי עיבוד הפיד, צוות התמיכה מודיע לכם שקרתה בעיה בנתונים, חותמת זמן לא תקינה.
כמה ימים לאחר מכן, אחרי שבדקת את התיעוד, העלית את הקובץ 2017_03_04-fix.xml לנקודת הקצה כדי לפתור את הבעיה של הסיווג הלא תקין:
<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>