• Resolved Daniel

    (@damen02)


    Hi! Thanks for this amazing plugin.

    Every time I try to upload an image through the chatbot I’m having this message: No route was found matching the URL and request method.
    I tried tu upload directly from cellphone camera, and different kinds of jpg files from PC.
    I checked this post, but I’m not using any caching method yet.
    The message displays just after upload is finished, without hitting the Send button.

    Here are my configs:

    • OpenAI, GPT-4o mini, Vision enabled, Temperature 0,5, Max Tokens 1024.
    • Context Embeddings Environment: none.
    • Input Max Length: 512 | Max Messages: 15 | Context Max Length: 4096.
    • I tried changing both
      Settings > Images & Files > Uploaded by Users >
      Local Upload: Filesystem and Media Library
      Remote Upload: Upload Data and Share URL

    My main suspects:

    • WordPress is installed on a subdirectory.
    • No payment method is set in OpenAI (I’m the website designer, not owner).

    Is this an error or I am missing something? Any clue?
    Thanks!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @damen02! ??

    Even though this error message is not very clear, it comes directly from OpenAI and usually indicates either that no payment method is set up or that the quota is insufficient to make the API requests. Hope this helps!

    Thread Starter Daniel

    (@damen02)

    Hi, thanks for your answer.

    New data about this problem.
    – Now the OpenAI account is funded. So this is not about quota.
    – A prompt with only text produces a normal answer. So the chatbot is reaching OpenAI.
    – The problem uploading images persists, no matter the device or image type: No route was found matching the URL and request method.?

    How can we fix this?

    Thread Starter Daniel

    (@damen02)

    Some additional information from Chrome Dev Tools:

    Network > Fetch/XHR:
    upload https://www.fumigatotal.com/wp-json/mwai-ui/v1/files/upload | 404 | xhr | chatbot.js?ver=1730735908:2 

    Console:
    (5) [Violation] Forced reflow while executing JavaScript took 34ms

    POST https://www.fumigatotal.com/wp-json/mwai-ui/v1/files/upload 404 (Not Found)

    onFileUpload Error {status: 404, message: ‘No route was found matching the URL and request method.’}

    Hope this helps.

    • This reply was modified 4 months, 2 weeks ago by Daniel.
    • This reply was modified 4 months, 2 weeks ago by Daniel.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.