# Gemini-2.5-pro, IndentationError

**URL:** <https://forum.cursor.com/t/gemini-2-5-pro-indentationerror/88016>\
**Category:** Bug Reports\
**Created:** [May 7, 2025, 10:12pm UTC](https://forum.cursor.com/t/gemini-2-5-pro-indentationerror/88016 "2025-05-07T22:12:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sureal](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@sureal](https://forum.cursor.com/u/sureal)\
**Post date:** [May 7, 2025, 10:12pm UTC](https://forum.cursor.com/t/gemini-2-5-pro-indentationerror/88016/1 "2025-05-07T22:12:13Z")

</div>

Gemini-2.5-pro, often get this error requiring additional call to fix:

IndentationError: expected an indented block after ‘if’ statement on line 0

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 6, 2025, 10:12pm UTC](https://forum.cursor.com/t/gemini-2-5-pro-indentationerror/88016/2 "2025-06-06T22:12:43Z")

</div>

Closed on June 6, 2025, 10:12pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
