Permission issues¶
401 or 403 from the REST API¶
- Some security plugins and hosts block REST routes for logged-out users. Allow
/wp-json/ogaie-ui/v1/and/wp-json/ogaie/v1/start_sessionfor chatbots on public pages. - Check you are logged in as a user with the right role for admin screens.
Editors cannot use a feature¶
Admin screens and tools need administrator rights by default. For MCP, enable Editor Access to let editors connect, limited to content they can already edit.
Guests cannot upload files¶
Enable uploads for the chatbot, and check your upload limits and the allowed types.
MCP sign-in loops¶
Cookies may be blocked, or a plugin redirects the authorisation page to a login or cache page. Exclude the OAuth address from redirects and caching.
A chatbot works for admins but not visitors¶
You are probably seeing it as a logged-in user. Test in a private window. Check usage limits for guests and any role-based restriction.
Security plugin blocks requests¶
Add an exception for the plugin's REST namespaces (see Public REST API) and for the AI provider's callbacks if you use any. Ask your host if ModSecurity rules are blocking long prompts.