BuildShipBBuildShip
Powered by
JipprJ
BuildShip•2y ago•
6 replies
Jippr

get firebase collection data

Hi as of a test I am trying to collect my customer data through a node however the OpenAI assistant that should use this node throws this error:

400 Invalid schema for function 'getCustomers': In context=('properties', 'orderBy'), array schema missing items.

I am not sure what I am doing wrong here.
Solution
Hi @Jippr, Currently the OpenAI Assitatant throws an error if it has a ndoe (tool) which has an array input field. As a solution you can make the query outside the Assistant node and then add an empty node inside the Assistant then store the variable output of the Firestore Collection Query node to make your workflow work.

Or alternatlveiy you can use the Anthropic Claude Assistant which will work even with array inputs.
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Firebase Collection Problems
!CarlYouKilledIt!!CarlYouKilledIt / ❓・buildship-help
2y ago
Firebase filter condition = document reference in another collection
syraxidlemindSsyraxidlemind / ❓・buildship-help
2y ago
Buildship Database shows Firestore data collection but does not exist in Firestore
Schpouet'SSchpouet' / ❓・buildship-help
2y ago
OAuth and Firebase
hemax99#epicHhemax99#epic / ❓・buildship-help
2y ago