Skip to content

500 error with function call #252

Open
@mehnoorsiddiqui

Description

@mehnoorsiddiqui

Description of the bug:

I am sending a request to Gemini API with tools (function call) but consistently receiving 500 internal server error. Without the function call the API returns 200 response.

I have checked that the request is under the 10k token.

How to reproduce the error?

The request to reproduce the error can be found at the link:
https://drive.google.com/file/d/1rVDXm1zCuDILs3UQOieJd4SYTX2qD2cQ/view?usp=sharing

Actual vs expected behavior:

Expected behavior: function call response
Actual behavior:

 "error": {
        "code": 500,
        "message": "An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting",
        "status": "INTERNAL"
    }

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions