Replies: 1 comment 3 replies
-
Hi @yij77, I can see that you're trying to access a localhost:3000. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I run into an error when botpress try to access to the flowise API. Plz help me if there is anyhing wrong with my code or API. Thank you so much!
GET http://localhost:3000/api/v1/prediction/2fc77fd8-ac05-403f-a653-867e0c99bcd1: 404
Response:
:"Not found because of proxy error: Error: connect ECONNREFUSED 127.0.0.1:3000"
Error: Request failed with status code 404
Execute code:
const question = workflow.question;
const apiUrl = http://localhost:3000/api/v1/prediction/2fc77fd8-ac05-403f-a653-867e0c99bcd1;
const response = await axios.get(apiUrl);
workflow.apiResponse = _.get(response, 'data.answer', '');
Beta Was this translation helpful? Give feedback.
All reactions