I get the following error when uploading a text/plain or a text/csv document through the API :
400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'The file size of gs://xxxxxxxx is 1925xxx6, which exceeds max allowed file size of 7340032 for text/plain files. Reduce the file size by lowering the image resolution, splitting the PDF into multiple files, and so on.'INVALID_ARGUMENT'}}」
Although the documentation of the model Gemini 2.5 Flash | Generative AI on Vertex AI | Google Cloud Documentation says it’s 50MB through cloud storage and not 7MB.
Could you update the documentation to reflect this limitation for text and csv?
– P.S. Also it’s wrong for the images as well I was able to upload an 8 MB photo where the the documentation says 7MB is the limit.