The other day I wanted to use a function in an unfamiliar library. Gemini kept putting an argument into the call that wasn't supposed to be there even after I explicitly told it not to. This was after I trusted Gemini, got an error message and looked at the docs. The argument it was adding was required for other functions in other libraries the same subject area so I suppose that's why it did it.
Wrong library version is also a classic.
At some point it would be nice if someone could come up with a way of grounding/adding package docs and/or version as part of the context automatically