Title: Permissions denied error while retrieving posts
Last modified: March 25, 2021

---

# Permissions denied error while retrieving posts

 *  Resolved [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/)
 * Hello,
 * We have encountered the same issue. At one time we got issues displaying the 
   posts on some pages (some were ok some not).
 * The displayed message on the page was: “Posts found: parsererror”
 * Then we analysed the ajax query:
    wp-admin/admin-ajax.php?action=get_filter_posts&
   nonce=03330579cc&params%5Bpage%5D=1&params%5Btax%5D=category&params%5Bpost-type%
   5D=post&params%5Bterm%5D=30%2C29%2C32&params%5Bper-page%5D=4&params%5Bfilter-
   id%5D=762474&params%5Bcaf-post-layout%5D=post-layout1&params%5Bdata-target-div%
   5D=.data-target-div1
 * The ajax response was: “Permission denied”
    The difference between the pages 
   ok and the pages “not-ok” was the value of the parameter “nonce”. We changed 
   this parameter value with the one on a good page and the response was ok.
 * After that, I just update one page to fix some css, and a few moment later (don’t
   know if it is really related) all the pages were ok. No issue anymore…
 * Do you have any thought one that issue?
 * Thanks and Regards,
    Philippe.
 * Related to topic: [https://wordpress.org/support/topic/stops-working-after-some-time/](https://wordpress.org/support/topic/stops-working-after-some-time/)

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

 *  Plugin Author [Trusty Plugins](https://wordpress.org/support/users/trustyplugins/)
 * (@trustyplugins)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14237197)
 * Hi [@phrols](https://wordpress.org/support/users/phrols/) ,
 * Sorry for that inconvenience.
 * Can you please share page url where you are receiving this ajax error.
 * Looking forward.
 * Thanks,
    Trusty Plugins Team
    -  This reply was modified 5 years, 2 months ago by [Trusty Plugins](https://wordpress.org/support/users/trustyplugins/).
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14238053)
 * Hello,
 * Thanks for your quick answer.
    Here is a page which were in error yesterday:
 * [https://illicov.fr/blog-covoiturage/](https://illicov.fr/blog-covoiturage/)
 * Regards,
    Philippe.
 *  Plugin Author [Trusty Plugins](https://wordpress.org/support/users/trustyplugins/)
 * (@trustyplugins)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14238243)
 * Hi [@phrols](https://wordpress.org/support/users/phrols/) ,
 * I checked that page many times,its working very fine. Sometimes nonce expires
   so this error may occured.
 * Everything is workimg fine now. Please let us know when you receive any error
   you can check in private tab or use any other device for troubleshooting.
 * Looking forward.
 * Thanks,
    Trusty Plugins Team
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14238292)
 * Ok,
 * Thanks for your support.
 * Regards,
    Philippe.
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14238344)
 * I just have a final question. You said “Sometimes nonce expires so this error
   may occured.”.
    Could you explain what are possible causes for this nonce expiration,
   and what to do if this happens again to be sure to fix the issue?
 * My manager does not really like the words “sometimes” and “may” 🙂
 * Thanks again,
    Philippe
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14247089)
 * Hello,
 * This morning the error is back.
    You can have a look: [https://illicov.fr/blog-covoiturage/](https://illicov.fr/blog-covoiturage/)
 * Regards,
    Philippe
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14247105)
 * Re-opening the issue.
 * Thanks.
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14247136)
 * What is strange is that this parameter “nonce” is the same for all the pages 
   and the value did not change from lat friday. I guess that this token has expired
   now.
    Shouldn’t be a “unique” token?
 * Thanks.
 *  Plugin Author [Trusty Plugins](https://wordpress.org/support/users/trustyplugins/)
 * (@trustyplugins)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14247364)
 * Yes it should be change. Its working fine for us. But we will keep an eye on 
   this page. Will try to check this page multiple times. Hope we will get the issue
   too and find the solution.
 * Thanks
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14247425)
 * Thanks for your quick answer,
 * For us the page fails to display the posts from any browser, any computer (even
   from BrowserStack tests).
    Are you sure you don’t have the error text displayed“
   Posts found: parsererror” at the bottom of the page?
 * What is the value of your nonce parameter? Ours is “c7fee7c0c1”.
 * Regards
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14247743)
 * Re-opening it as it does not work at all.
 * Maybe the issue has been closed by error?
 * Thanks!
 *  Plugin Author [Trusty Plugins](https://wordpress.org/support/users/trustyplugins/)
 * (@trustyplugins)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14247977)
 * Hi,
 * Its still working for us.
 * You can contact us at [trustyplugins@gmail.com](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/trustyplugins@gmail.com?output_format=md)
   so that i will send you the screenshot.
 * Looking forward.
 * Thanks,
    Trusty Plugins Team
 *  Thread Starter [phrols](https://wordpress.org/support/users/phrols/)
 * (@phrols)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14253154)
 * Hi,
 * We have found the issue. It is due to an incompatibility with a cache management
   plugin. The pages was cached forever, preventing to re-generate a correct nonce.
   
   So it’s **not** an issue directly related to the “Filter Post By Category” plugin
   but more a general issue to check between cache management and plugins using 
   WordPress nonce. So I have resolved the issue.
 * Thanks again the Trusty Plugins team for your support!
    We appreciate!
 * Regards,
    Philippe
 *  Plugin Author [Trusty Plugins](https://wordpress.org/support/users/trustyplugins/)
 * (@trustyplugins)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14253201)
 * Hi,
 * You can exclude plugin files from your cache plugin. Please try to exclude JS
   file.
 * Hope it will work for you.
 * Thanks,
    Trusty Plugins Team

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

The topic ‘Permissions denied error while retrieving posts’ is closed to new replies.

 * ![](https://ps.w.org/category-ajax-filter/assets/icon-256x256.png?rev=2410607)
 * [Category AJAX Filter — Advanced Filter for Posts & Custom Post Types](https://wordpress.org/plugins/category-ajax-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-ajax-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-ajax-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/category-ajax-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-ajax-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-ajax-filter/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [Trusty Plugins](https://wordpress.org/support/users/trustyplugins/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/permissions-denied-error-while-retrieving-posts/#post-14253201)
 * Status: resolved