Flowise
                                
                                
                                
                                    Flowise copied to clipboard
                            
                            
                            
                        [BUG] Not able to use cURL on DigitalOcean
After installing Flowise on my DigitalOcean droplet I'm not able to run API calls. Chat in Flowise works fine. I followed official installation guide.
Command that I run in terminal (copied from Flowise dashboard):
curl http://[MY_IP_ADDRESS]:3000/api/v1/prediction/d45395a3-3cc6-41f6-b887-df5229b79541 \ -X POST \ -d '{"question": "Hey, how are you?"}' 
Error that I receive:
Chatflow d45395a3-3cc6-41f6-b887-df5229b79541 first message not found%
Anyone can help with this issue?
hey @oskarkramarz sorry for the bug!
the fix will be pushed to the docker and npm tomorrow. For now you can have a simple hello message in the Flowise UI Chat, then call the API, it should work
Hello @HenryHengZJ, thanks for prompt reaction.
Just to let you know: I followed your instruction and sent a simple hello message in Flowise UI Chat. After that, I made API call again, but responses are either out of context or I get errors.
Below example response for second API call, after I sent hello message in Flowise UI Chat. For your information: my chatflow is just Conversational Agent template from marketplace, nothing complex.
Thank you in advance for solving this - Flowise is a great software with huge potential.
also related with #332
@oskarkramarz issue should be resolved now in v1.2.13 with this PR - https://github.com/FlowiseAI/Flowise/pull/354
@HenryHengZJ I made an update and response first message not found is gone. However responses via API still are out of context or I get an error 400.
Example response for first message to chatflow through cURL:
And an error that I get after sending next messages: