# API upload for coco dataset doesn't import bounding boxes

**URL:** https://discuss.roboflow.com/t/api-upload-for-coco-dataset-doesnt-import-bounding-boxes/7303
**Category:** 🤝  Community Help
**Created:** [October 11, 2024, 7:52pm UTC](https://discuss.roboflow.com/t/api-upload-for-coco-dataset-doesnt-import-bounding-boxes/7303 "2024-10-11T19:52:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![david-n](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@david-n](https://discuss.roboflow.com/u/david-n)
#### Post date: [October 11, 2024, 7:52pm UTC](https://discuss.roboflow.com/t/api-upload-for-coco-dataset-doesnt-import-bounding-boxes/7303/1 "2024-10-11T19:52:32Z")

</div>

Project Type: Object detection  
Operating system: Windows 11

I have many datasets in the coco format. When I upload via the “upload data” tab on the project’s browser page and select a folder with images and an **\_annotations.coco.json** file, everything uploads fine. Bounding boxes, class labels, images, and all. But when I try to use the Python SDK (Roboflow.worspace.upload\_dataset) or the CLI (roboflow import …), only the images upload. None of the bounding boxes get uploaded with them. How do I properly use the API to upload a full dataset of annotated images?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)
#### Post date: [November 1, 2024, 7:52pm UTC](https://discuss.roboflow.com/t/api-upload-for-coco-dataset-doesnt-import-bounding-boxes/7303/2 "2024-11-01T19:52:47Z")

</div>

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