Title: Whitelist REST API namespace
Last modified: March 24, 2021

---

# Whitelist REST API namespace

 *  [Nazar Hotsa](https://wordpress.org/support/users/bugnumber9/)
 * (@bugnumber9)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/whitelist-rest-api-namespace/)
 * Hi Gioni.
 * I’m stuck trying to whitelist a REST API namespace for LearnDash.
    The request
   that gets blocked looks like this: `/wp-json/wp/v2/sfwd-lessons/833?_fields=yasr_visitor_votes&
   _wpnonce=82f9b37d26`
 * What should I add to ‘Allow these namespaces’ to whitelist the above? I tried
   adding ‘wp’ and ‘wp/v2/sfwd-lessons’ – neither one has worked.

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

 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/whitelist-rest-api-namespace/#post-14229503)
 * Hi!
 * 1. You need to specify “wp”.
    2. Check the Activity log to see why the requests
   are blocked. Probably, there is another reason that is not related to whitelisting.
 *  [Kimantis_Creative_Group](https://wordpress.org/support/users/kimantis_creative_group/)
 * (@kimantis_creative_group)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/whitelist-rest-api-namespace/#post-14235689)
 * I am having the same issue, not able to whitelist any custom file.. path for 
   example:
    /wp-content/themes/understrap-child-master/includes/load.php for /wp-
   content/themes/understrap-child-master/includes/load.php?start=2021-02-28&end
   =2021-04-11&_=1616698751919″.

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

The topic ‘Whitelist REST API namespace’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cerber_77a9bf.svg)
 * [WP Cerber Security, Anti-spam & Malware Scan](https://wordpress.org/plugins/wp-cerber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cerber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cerber/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cerber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cerber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cerber/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Kimantis_Creative_Group](https://wordpress.org/support/users/kimantis_creative_group/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/whitelist-rest-api-namespace/#post-14235689)
 * Status: not resolved