Title: DATE_NOT_RECENT
Last modified: January 25, 2018

---

# DATE_NOT_RECENT

 *  Resolved [moehamid2018](https://wordpress.org/support/users/moehamid2018/)
 * (@moehamid2018)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/date_not_recent/)
 * Hello,
    i am getting this error: here are the logs:
 *     ```
       API Response:
       Array
       (
           [headers] => Requests_Utility_CaseInsensitiveDictionary Object
               (
                   [data:protected] => Array
                       (
                           [request-id] => 259556f0-ffbf-11e7-9f64-4309d9bd7007
                           [www-authenticate] => HHMAC
                           [content-type] => application/json;charset=UTF-8
                           [content-length] => 39
                       )
   
               )
   
           [body] => {"errors":[{"code":"DATE_NOT_RECENT"}]}
           [response] => Array
               (
                   [code] => 401
                   [message] => Unauthorized
               )
       ```
   
 * if this is caused by difference in time zones: Apple server time zone can't be
   changed. It might be difficult to change our servers time zone. Any other suggestions.
   
   Can there be other causes? Thanks in advance.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdate_not_recent%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/date_not_recent/#post-9906635)
 * The signature that is created for every API request is calculated using the current
   server time. If the clock on your server is set to an incorrect time zone or 
   is simply too far off the current time, the signature will come up as invalid.
   Unfortunately, there’s nothing we can do in the plugin to correct this.
 * Your best bet is to follow up with your hosting company. Sorry for the inconvenience.
 *  Thread Starter [moehamid2018](https://wordpress.org/support/users/moehamid2018/)
 * (@moehamid2018)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/date_not_recent/#post-9919916)
 * Thanks Bradford.
    What do you mean by: “incorrect time zone or is simply too 
   far off the current time” please?
 *  Thread Starter [moehamid2018](https://wordpress.org/support/users/moehamid2018/)
 * (@moehamid2018)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/date_not_recent/#post-9920024)
 * I mean, how do you know what Apple’s News Publisher time zone is, so that i can
   adjust my wp setting.
 *  Thread Starter [moehamid2018](https://wordpress.org/support/users/moehamid2018/)
 * (@moehamid2018)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/date_not_recent/#post-9920099)
 * Does changing the time inside wp settings have no effect? It actually has to 
   be the hosting server itself?
 *  Plugin Author [Bradford Campeau-Laurion](https://wordpress.org/support/users/potatomaster/)
 * (@potatomaster)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/date_not_recent/#post-9922842)
 * This is a mismatch between the server time and what the API is expecting. Unfortunately,
   I can’t offer any help beyond what’s already been given. I suggest if you’re 
   still stuck, please follow up with your hosting company or Apple News support.
   This isn’t anything to do with the plugin itself and beyond our capability to
   fix.
 *  Thread Starter [moehamid2018](https://wordpress.org/support/users/moehamid2018/)
 * (@moehamid2018)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/date_not_recent/#post-9928948)
 * Thanks Bradford.
    We figured it out. it was an NTP issue. We host on AWS, and
   the time sync packages (NTP) were a little bit out of sync, so we deleted them
   and installed chrony instead and that worked. For anyone who is interested, here
   are the instructions (under configuring the Amazon time sync services): [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html)
 * thanks again and great job on the plugin. We appreciate all your work and help.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘DATE_NOT_RECENT’ is closed to new replies.

 * ![](https://ps.w.org/publish-to-apple-news/assets/icon-256x256.png?rev=3017580)
 * [Publish To Apple News](https://wordpress.org/plugins/publish-to-apple-news/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/publish-to-apple-news/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/publish-to-apple-news/)
 * [Active Topics](https://wordpress.org/support/plugin/publish-to-apple-news/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/publish-to-apple-news/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/publish-to-apple-news/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [date](https://wordpress.org/support/topic-tag/date/)

 * 6 replies
 * 2 participants
 * Last reply from: [moehamid2018](https://wordpress.org/support/users/moehamid2018/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/date_not_recent/#post-9928948)
 * Status: resolved