I’m trying to use the Roboflow Video Inference API to analyze an 8-second video (hosted on a public Cloudinary URL). The video simply shows a woman entering a room. My goal is to inspect the room and check if certain tasks are done.
Issue:
When I submit the video to the API endpoint:
https://api.roboflow.com/videoinfer/?api_key=<YOUR_API_KEY>
the job status returns 2
and says “object detection error.” I’m not sure why this is happening. The video is in a supported format (mp4) and is publicly accessible. I also tried using another video and it also gave the same error.
This is the response I get when checking the status:
[
{
“_id”: “14d34094-2fed-406e-b6c8-b0c06213334d”,
“created_at”: “Mon, 16 Jun 2025 14:21:37 GMT”,
“crop_area”: “full”,
“infer_fps”: 5,
“infer_models”: [
{
“api_key”: “…”,
“infer_errors”: 0,
“infer_success”: 0,
“inference_params”: {
“confidence”: 0.4
},
“inference_type”: “object-detection”,
“model_id”: “unit-walkthrough-validation”,
“model_version”: 4
}
],
“memo”: “xazo2DMYRJOUsCsCOQ9soeJuvIN2”,
“metadata”: “”,
“pubsub_message_id”: “15179134466164301”,
“retries”: 1,
“signed_url”: “https://res.cloudinary.com/dvhgcmpi5/video/upload/v1750083696/lou5qtklzd27cnoiwtp1.mp4”,
“status”: 2,
“status_info”: “object-detection error”,
“updated_at”: “Mon, 16 Jun 2025 14:21:44 GMT”,
“webhook_url”: “”
}
]
-What does status 2
and “object detection error” specifically mean?
-Are there any common reasons why a video that seems valid would fail with this error? Maybe because the duration is too short?
-Is there a way to get more detailed error information from the API or logs?
Request body to start the job:
Any help or suggestions would be appreciated!
- Project Type: object-detection
- Operating System & Browser: Windows
- Project Universe Link or Workspace/Project ID: unit-walkthrough-validation