• 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/v1 is registered correctly

    However, the chatbot does not work.

    When a visitor sends a message, the request:

    POST /wp-json/wdgpt/v1/retrieve-prompt

    returns:

    403 Forbidden

    Response:

    <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-prompt

    Status code:

    403 Forbidden

    Could you please advise what could cause the retrieve-prompt endpoint to return a 403 error while context generation works correctly?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.