Unsolved: No route was found matching the URL and request method
-
Hi,
this is a follow of this previous post that you marked as “Resolved”, but it isn’t.I tested another plugin that works fine uploading images with Vision, so the problem is not on the AI provider side.
Every time I try to upload an image through the AI Engine chatbot I’m having this message: No route was found matching the URL and request method. The message displays just after upload is finished, without hitting the Send button.
- WordPress is installed in a subdirectory, AI Power works fine this way.
- A prompt with only text produces a normal answer. So the chatbot is reaching OpenAI.
Here are my configs in AI Engine:
- Memory local: Yes
- OpenAI, GPT-4o mini, Vision enabled, Temperature 0,5, Max Tokens 16384.
- Context Embeddings Environment: none.
- Input Max Length: 16384 | 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
Some additional information from Google Chrome Dev Tools:
Network > Fetch/XHR:
upload https://www.fumigatotal.com/wp-json/mwai-ui/v1/files/upload | 404 | xhr | chatbot.js?ver=1730735908:2Console:
(5) [Violation] Forced reflow while executing JavaScript took 34msPOST 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. Thanks!
- You must be logged in to reply to this topic.