Joy
Joy6mo ago

Need help connecting FlutterFlow Chat with Buildship

I'm really struggling to connect my buildship chat to flutterflow. I'm building a chat in Flutterflow and connecting it with OpenAI with Buildship. The node works well on Buildship, and I've followed the instructions in Buildships Flutter YouTube videos. But I keep getting errors and I don't know what to do. Can someone please help?
7 Replies
Harini
Harini6mo ago
Hi @Joy could you share what error your see and also if you raise an in app support form we can take a look. Also a recording of the issue you are seeing in https://jam.dev would be helpful
Jam | Build a bug-free product.
Report bugs in seconds, and get back to what you were doing. It's as easy as taking a screenshot. Fast for you, and perfect for the engineers.
Joy
Joy6mo ago
This is the error message I keep receiving. When I test the API, I see a red pop up saying "Testing call failed 😦 Error: ClientException: XMLHttpRequest error., uri=https://infinite-bastion-15478-23ed5064cfed.herokuapp.com/https://32k9tq.buildship.run/pregriskprofile"
Joy
Joy6mo ago
Jam
Jam | Console logs, network requests, and more
Click this link to see the video on app.flutterflow.io, with console logs, network tab and device information.
Joy
Joy5mo ago
hello, have you been able to look at jam video?
Gaurav Chadha
Gaurav Chadha5mo ago
Hi @Joy, Thanks for sharing the jam, could you please check if you have passed a valid body in the call definition when testing on FlutterFlow as well and you can remove variable user_id as it is not passed in the request in BuildShip workflow.
No description
Joy
Joy5mo ago
but i need the user id variable for supabase, which it needs to refer to
Gaurav Chadha
Gaurav Chadha5mo ago
@Joy, Okay, I tested the Supabase AI Assistant template on BuildShip and on FlutterFlow and it working. Few things you can check when testing on FlutterFlow: 1. The FlutterFlow call definition should have the same query parameter key which you have used in the BuildShip workflow, from the template it is prompt . 2. The type of the value source should be set to string on FlutterFlow. 3. The result in FlutterFlow will be shown as Raw Body. Let us know if it still doesn't work for you, you can submit a support requset via in-app support.
No description
No description