POST /api/flowise 404

Hello, I’m trying to host my website on a web hosting service. I’m using a chatbot that works well with Render and Flowise on my localhost. However, when I host it on the website, I’m getting results like this. Does anyone know why this is happening? I’m not quite sure why, as it works well on my localhost.
The Render I’m using is a paid version as well.

Hey,

We’ll need to have more info here in order to help. Have you checked your ‘Metrics’ tab to see if you’re coming close to your instance type limits? 404s should generally not be caused by resource over-usage but it’s always good to clear this out.

If you have other routes, are they working?
Are you sure that the code you have locally is on par with the one hosted on Render?
You seem to have a paid instance type, so you can ‘Shell’ into your service.

Jérémy.
Render Support, UTC+3

Hi Jeremy,
So we haven’t launch our service yet so that shouldn’t be the issue.
The problem arise when we try to launch our website. The chatbot stop responding. You can try it yourself over on www.madebymachines.ai . But when we try it on local, it respond just fine.
Do you know why? is it a credential issue on the hosting perhaps?

Hey,

Are you hosted on Render? I couldn’t find any records attached to this domain: madebymachines.ai.

If it isn’t an issue for you, you could provide the onrender.com address of this service here. If it is, please contact us via the Render dashboard, via the “Contact Support” form. Make sure to connect to the account where the service is.

Jérémy.
Render Support, UTC+3

Hey, I tried to host both on Render and outside of Render, but they are yielding similar results. Please check the outcome at https://madebymachines1.onrender.com/.


Can you explain me why it gives result like that?

It looks like you’re making a request to your API located on the same URL:
https://madebymachines1.onrender.com/api/flowise but… this is a static site, the API isn’t located here but on another service that you have perhaps deployed on Render?

Jérémy.
Render Support, UTC+3

Yes, you are correct. The service is located at a different URL, which is https://flowise-x8x8.onrender.com, and I have provided my API key to the chatflow. Is it possible that there was a wrong step in how I input it? Here are some of the documentation.

Hey,

You should refrain from sharing your API keys in a public forum, as it’s now compromised. I’d recommend removing the screenshot showcasing your API key and generating a new one.

Concerning the issue at hand, it appears you’re still directing calls to https://madebymachines1.onrender.com/api/flowise while making a request within https://madebymachines1.onrender.com. It’s crucial to ensure that your code is using the correct backend URL.

Jérémy.
Render Support, UTC+3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.