Title: Blocked API
Last modified: March 4, 2024

---

# Blocked API

 *  Resolved [Roman Kraiger | Pixeler s. r. o.](https://wordpress.org/support/users/pixeler/)
 * (@pixeler)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-api-2/)
 * Hi, I have two websites linked to synchronize content using REST API. Everything
   was working fine but after the updates this link stopped working. If I disable
   Wordfence everything works. I also tried turning off the Firewall, but it didn’t
   help. I found this error in diagnostics
 * Connecting back to this site via IPv6 (not required; failure to connect may not
   be an issue on some sites)wp_remote_post() test back to this server failed! Response
   was: cURL error 7:
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fblocked-api-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-api-2/#post-17472855)
 * Hi [@pixeler](https://wordpress.org/support/users/pixeler/), thanks for getting
   in touch!
 * Our free Wordfence Central product requires successful connectivity to your site’s
   REST API, so we don’t deny access to it in the Wordfence plugin by design.
 * The IPv6 issue above shouldn’t be a problem as it’s common for certain platforms,
   such as Cloudflare, to assign an IPv6 address but the host doesn’t allow it to
   be used. If your IPv4 connectivity and connectivity to our servers look good 
   in your Diagnostics page then scans and rules updates etc. should work fine.
 * Immediately after being denied access or receiving an unexpected result from 
   the REST API, check for blocks that match up with the request you just made in
   Live Traffic. After expanding the Live Traffic line, you’ll see the reason given
   in red text. You might be able to “ADD PARAM TO FIREWALL ALLOWLIST” using the
   button provided, or alter a setting to allow the requests in future as you know
   the original request was safe. Sometimes Learning Mode can help allowlist actions
   for you.
 * You can read more about both methods above here: [https://www.wordfence.com/help/firewall/learning-mode/](https://www.wordfence.com/help/firewall/learning-mode/)
 * Thanks,
   Peter.
 *  Thread Starter [Roman Kraiger | Pixeler s. r. o.](https://wordpress.org/support/users/pixeler/)
 * (@pixeler)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-api-2/#post-17474924)
 * I came to the conclusion that this option in Additional Optionas -> Prevent discovery
   of usernames through ‘/?author=N’ scans, the oEmbed API, the WordPress REST API,
   and WordPress XML Sitemaps, is causing it, if I turn it off, the synchronization
   works.
 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-api-2/#post-17476044)
 * Hi [@pixeler](https://wordpress.org/support/users/pixeler/), thank-you for the
   update.
 * I had recently seen a conflict with Google Web Stories where the solution was
   to deactivate the option you mentioned in **Wordfence > All Options > Brute Force
   Protection > Additional Options**. I hadn’t gone to this conclusion first in 
   this case as I wasn’t sure of the content/plugins in your case, but I appreciate
   you bringing it to my attention as the solution.
 * You are safe to keep that setting turned off if required to keep the REST API
   communicating with the services you need.
 * Thanks again,
   Peter.

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

The topic ‘Blocked API’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/blocked-api-2/#post-17476044)
 * Status: resolved