BuildShipBBuildShip
Powered by
kuldudeK
BuildShip•2y ago•
11 replies
kuldude

Basic Website Q&A Test Failed with 400

I ran a copy of the Website Q&A template through test. It failed with the following error message: "400 Thread messages or instructions must contain the word 'json' in some form to use 'response_format' of type 'json_object'."

I created the assistant on openAI and used the correct assistantID and apiKey. Not sure what else I did wrong.
Screenshot_2024-05-02_at_3.23.06_PM.png
Solution
Hi @kuldude @Nikita, for the error where 'message[0].content' is missing, it arises when the user prompt is undefined.

I'm guessing that the property that is being used in the user prompt input is not the same as what is being sent in by the request.

The Jam shows that the property "prompt" of the Body is how the message is sent in. Can you check if that same property is used in the "User Prompt" input of the node
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

Need basic help with parsing a query...
pablonajPpablonaj / ❓・buildship-help
2y ago
Test workflow: "Failed to execute workflow"
ThomasTThomas / ❓・buildship-help
2y ago
400 invalid value storybook
miaMmia / ❓・buildship-help
2y ago
Website Screenshot
HHH / ❓・buildship-help
2y ago