Al_BA
BuildShip2y ago
4 replies
Al_B

Errors using Firestore Collection Query as a function of OpenAI Assistant

Hi - I’m trying to use the Firestore - Collection Query Node as a function of an OpenAI Assistant. Unfortunately, I keep encountering errors no matter how I set things up.

If I set the 'Filters' and 'Order By' fields blank or auto-filled, I receive the error message: 400 Invalid schema for function 'meal_collection_collection': In context=('properties', 'orderBy'), array schema missing items

For autofill, I leave the default field name and instructions.

If I remove the 'Filters' and 'Order By' fields from the node entirely, I receive the error message: Value for argument "fieldPath" is not a valid field path. Paths can't be empty and must not contain "*~/[]".

If I test the Firestore node on its own without either field, the node is successful.

Any tips on how I can get this to work? I've searched the documentation and YouTube and can't seem to get this to work in any way. 😦

Thanks in advance!
image.png
image.png
Was this page helpful?