google-gemini / generative-ai-python

The official Python library for the Google Gemini API
https://pypi.org/project/google-generativeai/
Apache License 2.0
1.39k stars 270 forks source link

"500 An internal error has occurred" while using the gemini-1.5-flash #504

Closed Rainbotlike closed 2 days ago

Rainbotlike commented 1 month ago

Description of the bug:

I upload some txt files and want gemini to help me extracting some information from them. But the response kept being "500 An internal error has occurred". I think I have set the config all right as the document tutoring. How to solve this error?

error_20240811160005

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

singhniraj08 commented 1 month ago

@Rainbotlike, Thank you reporting this issue. This looks like an intermittent error and should work now. This repository is for issues related to Python SDK client bugs or improvements and the client doesn't control the service's responses. For issues related to Gemini API, we would suggest you to use "Send Feedback" option in Gemini docs. Ref: Screenshot below. You can also post this issue on Google AI forum.

image

github-actions[bot] commented 2 weeks ago

Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs.

github-actions[bot] commented 2 days ago

This issue was closed because it has been inactive for 28 days. Please post a new issue if you need further assistance. Thanks!