When I’m trying to use the Roboflow CLI to upload an image and the annotations in COCO JSON format (3.8gb of JSON) to an instance segmentation model project, it raises:
roboflow.adapters.rfapi.AnnotationSaveError: (‘Connection aborted.’, TimeoutError(‘The write operation timed out’))
My command line is:
roboflow upload -w [workspace_name] -p [project_name] -a ./_annotations.coco.json colonn310.jpg
I’m just trying to upload a single image to see if it uploads the annotations in COCO JSON format. Think that the files are big as to upload via web interface.
Thanks,
Sebastián.
Ford
August 21, 2025, 1:42am
2
Hi @SebastiánSamaruga !
To make sure I understand, you’re attempting to upload a single image and a 3.8gb JSON annotation file via CLI?
It’s important to note than when uploading via the CLI, you must upload the images and their corresponding annotations at once from the same folder.
Hi, thanks for the quick response.
As long as I can see, roboflow upload command takes as an argument a single image file.
What would be the right way to upload a set of images and their annotations in COCO JSON annotations format file of this size (3.8gb)?
Ford
August 29, 2025, 9:19pm
5
Hi @SebastiánSamaruga !
I suggest uploading a dataset of this size via the CLI. Here is a guide on how to do so: Uploading Data to Roboflow via CLI
From the link you’ve provided:
"You can upload data with the CLI for the following Project types:
Mine is an Instance Segmentation project type.
With ‘roboflow import’ seems to have uploaded the dataset. However, in the ‘Dataset’ tab it hangs with this message (from about an hour):
“Your images are being added to the dataset. Please check back in a few minutes”.
Stills with the same message: “Your images are being added to the dataset. Please check back in a few minutes” from 6 hours till now.
In the “Annotate” tab shows:
But “Dataset” tab stills telling since yesterday:
“Your images are being added to the dataset. Please check back in a few minutes”.
Buenas tardes Disculpen las molestia como puedo trabajar en la plataforma de roboflow para etiquetar imagenes tengo experiencia en 2D y 3D
Could this be a problem in respect to a malformed COCO JSON format file? Are there any ways to validate my annotations file?
system
Closed
October 9, 2025, 2:54pm
12
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.