Next.js Discord

Discord Forum

AI SDK with Bedrock

Answered
American posted this in #help-forum
Open in Discord
AmericanOP
I'm having this error when using generateObject:

Error [AI_APICallError]: The value at toolConfig.tools.0.toolSpec.inputSchema.json.type must be one of the following: object.

Do you know what does that means?
Answered by American
It was because zod 4.....
View full answer

1 Reply

AmericanOP
It was because zod 4.....
Answer