Title: REST API blocking error
Last modified: December 8, 2018

---

# REST API blocking error

 *  Resolved [Samuel](https://wordpress.org/support/users/martdsam/)
 * (@martdsam)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/rest-api-blocking-error/)
 * The plugin refuses access to the following URL:
    myhost.co/wp-json/wp/v2/users/–(
   is .co, not .com)
 * 1 – Regardless of whether or not I release, blocking always happens.
    2 – This
   happens only for logged in users. 3 – For the blocking to happen you only need
   to open a post to edit. 3 – The “Allow API REST for logged in users” option is
   active. 4 – The option “Block access to the REST API of WordPress except for 
   the following” It is active. 5 – I put the namespace (wp) as allowed and even
   then the locking continues 6 – The lock appears in the activity list. The alert
   that appears is: “Rejected REST API request”

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

 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/rest-api-blocking-error/#post-10962757)
 * You’ve enabled “Stop user enumeration”. This setting has a higher priority than
   the REST API settings.
 *  Thread Starter [Samuel](https://wordpress.org/support/users/martdsam/)
 * (@martdsam)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/rest-api-blocking-error/#post-10963506)
 * That was it. Thank you.

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

The topic ‘REST API blocking error’ 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
 * 2 participants
 * Last reply from: [Samuel](https://wordpress.org/support/users/martdsam/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/rest-api-blocking-error/#post-10963506)
 * Status: resolved