Gemma 4 throws error 400 Request contains an invalid argument

It used to work fine, and since two days ago, it has been breaking when uploading an image.