BuildShipBBuildShip
Powered by
ThomasT
BuildShip•2y ago•
12 replies
Thomas

querying db through chatgpt: 400 Invalid schema for function

I am trying to query a firestore database through chatgpt. I always receive an error statement:
"400 Invalid schema for function 'firestore-Collection-Query': In context=('properties', 'orderBy'), array schema missing items"

My chatgpt instructions include: "When you are given tools to use, you must use them following the guidelines for each tool.
Guidelines:
1. When you start the conversation, you must use the 'firestore-collection-query' tool to retrieve relevant keywords."

The firebase node works if not used in context of the chatgpt query...

Thanks!
Bildschirmfoto_2024-06-24_um_12.26.11.png
Solution
@Thomas 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 remove the filter or orderBy form the node, alternatively, you can add the use our Firestore Collection Video - https://www.youtube.com/watch?v=B0g0FWqWSLg.
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
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

400 invalid value storybook
miaMmia / ❓・buildship-help
2y ago
Internal error, workflow schema is invalid.
NilveesNNilvees / ❓・buildship-help
11mo ago
can we build zapier functionalities through buildship?
SudheerSSudheer / ❓・buildship-help
2y ago
Ai books template Error: 400 Invalid value for 'content': expected a string, got null.
absoluteapoorvAabsoluteapoorv / ❓・buildship-help
3y ago