GoogleGenerativeAIError: "Invalid JSON payload received" when calling functionResponse #301
Labels
component:other
Questions unrelated to SDK
status:triaged
Issue/PR triaged to the corresponding sub-team
type:help
Support-related issues
Description of the bug:
I'm encountering an issue while integrating the Google Generative AI API. Specifically, I'm getting a 400 Bad Request error with the message:
Actual vs expected behavior:
This are my calling function
Any other information you'd like to share?
I’m not sure what’s causing this issue. The functionResponse object is being passed as a list, but the error message suggests that the response field can't be used in this way.
The text was updated successfully, but these errors were encountered: