Forbidden access
-
Hello,
I am using SmartSearchWP version 2.7.3 on a WordPress website hosted by OVH with Divi builder theme.
I have successfully configured my OpenAI API key and added API credits. The key is validated correctly by the plugin.
Current status:
- OpenAI API key is valid
- OpenAI billing is active
- Contexts are generated successfully
- Pages are trained and marked as active (green status)
- REST API is enabled and working (
/wp-json/loads correctly) - The route
/wp-json/wdgpt/v1is registered correctly
However, the chatbot does not work.
When a visitor sends a message, the request:
POST /wp-json/wdgpt/v1/retrieve-promptreturns:
403 ForbiddenResponse:
<title>403 Forbidden</title> <h1>Forbidden</h1> <p>You don't have permission to access this resource.</p>Additional information:
- Hosting: OVH
- CDN: OVH Basic CDN enabled
- WP-Optimize cache disabled during testing
- Permalinks refreshed
- Context generation works correctly
- Only chatbot requests fail
In Chrome DevTools, the failed request is:
https://domainedesclauzes.com/wp-json/wdgpt/v1/retrieve-promptStatus code:
403 ForbiddenCould you please advise what could cause the
retrieve-promptendpoint to return a 403 error while context generation works correctly?Thank you.
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.