Not recognizing labels with the uploader CLI

I uploaded some images with the uploader CLI but the corresponding labels in the bounding_boxes.labels file are not recognized.
The json file has the proper format and is in the same folder as the images.

“Upload configuration:
Label: Not set, will be infered from file name”

Can somebody help me, please?

Can you post your bounding_boxes.labels file?

This is a sample:
{“version”:1,“type”:“bounding-box-labels”,“boundingBoxes”:{“00020ebf74c4881c.jpg”:[{“label”:“Orange”,“x”:786,“y”:466,“width”:199,“height”:240},{“label”:“Vegetable”,“x”:287,“y”:413,“width”:294,“height”:385},{“label”:“Vegetable”,“x”:303,“y”:302,“width”:180,“height”:304},{“label”:“Vegetable”,“x”:540,“y”:469,“width”:345,“height”:419},{“label”:“Grapefruit”,“x”:780,“y”:451,“width”:198,“height”:272}],

I tried to upload only the json file but it gives me this error:
Failed to upload bounding_boxes.labels.json missing protected header

Thank you,

Although the file has a JSON format the file extension is labels

  • bounding_boxes.labels