Ai books template Error: 400 Invalid value for 'content': expected a string, got null.
Hi Guys, I was testing out the template for Ai books using OpenAi but it doesn't seem to be working. I only added my API key but it throws the above error in the logs when I test it on buildship.
I checked the node code and the content is passed with systemprompt. Can anyone address this please?
8 Replies
Sent an email with fix. Marking this ✅
hey @Gaurav Chadha how was this solved?
To fix the issue with the AI books template, delete the Form value Extractor node (the node on which it is giving an error) and add it again from the node explorer. It will work then.
@Gaurav Chadha I am talking about this error
400 Invalid value for 'content': expected a string, got null.
Yes, the above solution is for this only. On which node you are getting this error (Form Value extractor?), please share a video/screenshot.
it's a different node entirely. I created a simple get request with open ai.
https://518b3k.buildship.run/painreview
it's asking for content. How do i add content after it's been shipped
You'll require to pass the content (prompt) using your frontend, to try it on your shipped workflow you can use Postman. You can refer this - https://youtu.be/pzDFhkCzIrk?t=437. (time stamp)
BuildShip + Rowy
YouTube
Story Books App - Combine GPT4, DALLE, Text To Speech API - No Code
Learn how you can create a Story Books App backend that can combine OpenAI GPT4, Dall.E, Text to Speech APIs - with no code - by using the low-code visual backend builder and fast to use template.
Get started with BuildShip 👉 https://buildship.com
💬 Chat and build together with a community of no-code/low-code developers: https://buildship.com/...
thank you