WordPress REST API returns HTTP 403 in WPVibe connection check

Website URL

https://anf.free.nf/

Error Message

WPVibe connection check fails with HTTP 403.

The REST API returned a web page instead of JSON. The authorization header could not be verified because the loopback request returned HTTP 403.

Other Information

I am using WordPress on InfinityFree hosting. The WPVibe plugin is installed and active, and my website uses HTTPS.

Please help me identify why the WordPress REST API is returning HTTP 403 and how to resolve this issue so I can connect WPVibe to my website.

Website: https://anf.free.nf/

Welcome to the InfinityFree community forum! Good to have you here.

  • Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
  • Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
  • AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
  • Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.

This is almost certainly InfinityFree’s browser security system, and it can’t be turned off on free hosting. So I don’t think WPVibe can connect to your site on this plan.

The system only lets through visitors that can run JavaScript and accept cookies. The article lists REST APIs, automated scripts and webhooks from external services as things that don’t work. It also lists 403 Forbidden as the usual error for blocked requests. WPVibe’s check, and WordPress’s own loopback request, are server-to-server requests with no browser behind them. That fits your message that the REST API returned a web page instead of JSON, because the blocked request gets the security page back.

Here’s the article on how the system works and what it blocks:

A staff answer on a similar topic says loopback requests are blocked here because they violate one of the security restrictions:

The article says the system is mandatory on all free hosting accounts. It suggests premium hosting if you need API access, because premium protects sites with less restrictive methods that let APIs and automated tools work normally.

I can’t tell whether WPVibe has any way around this. I only know that the requests it makes to your site are the type this system blocks.

Basically what the bot says: automated/API access to websites hosted with us is not possible, which means hosting an MCP server with us is also not possible. So WPVibe is out.

That doesn’t mean you can’t use AI to build your website though. Instead of having your AI connect to your website, you can also have your website connect to the AI provider.

I have no idea what plugins exist in the space, but technically there is nothing preventing you from using a plugin in your WordPress site that gives you a chat interface in the wp-admin panel, which connects to the AI provider, which then returns instructions that the plugin can execute on your website.

It’s the same process as the bot above uses, or something like Claude Code or OpenCode does too.

WordPress 7.0+ have AI support built-in (kinda), so people can just use official plugins.