"does not fit into any vehicle due to capacity" - but actually within the capacity

The shipments I have is within the capacity of the vehicles, but I got error - does not fit into any vehicle due to capacity

Query

{
“vehicles”: [
{
“vehicle_id”: “truck_1”,
“start_address”: {
“location_id”: “depot_loc”,
“lon”: 145.1868,
“lat”: -38.03448
},
“end_address”: {
“location_id”: “dump_loc”,
“lon”: 145.22673,
“lat”: -38.04419
}
}
],
“vehicle_types”: [
{
“type_id”: “truck_id”,
“profile”: “truck”,
“capacity”: [
4000
]
}
],
“shipments”: [
{
“id”: “bins_2”,
“name”: “bins_2”,
“pickup”: {
“address”: {
“location_id”: “bins_2”,
“lon”: 145.173336,
“lat”: -37.992728
},
“time_windows”: [
{
“earliest”: 0,
“latest”: 100000000
}
]
},
“delivery”: {
“address”: {
“location_id”: “dump_loc”,
“lon”: 145.22673,
“lat”: -38.04419
},
“time_windows”: [
{
“earliest”: 0,
“latest”: 100000000
}
]
},
“size”: [
1
]
},
{
“id”: “bins_3”,
“name”: “bins_3”,
“pickup”: {
“address”: {
“location_id”: “bins_3”,
“lon”: 145.2021236,
“lat”: -38.033189
},
“time_windows”: [
{
“earliest”: 0,
“latest”: 100000000
}
]
},
“delivery”: {
“address”: {
“location_id”: “dump_loc”,
“lon”: 145.22673,
“lat”: -38.04419
},
“time_windows”: [
{
“earliest”: 0,
“latest”: 100000000
}
]
},
“size”: [
1
]
}
],
“objectives”: [
{
“type”: “min”,
“value”: “completion_time”
}
]
}


Results:

{
“copyrights”: [
“GraphHopper”,
“OpenStreetMap contributors”
],
“job_id”: “76813e2c-f0b4-49f7-b0c6-739888ea9db8”,
“status”: “finished”,
“waiting_time_in_queue”: 0,
“processing_time”: 28,
“solution”: {
“costs”: 0,
“distance”: 0,
“time”: 0,
“transport_time”: 0,
“completion_time”: 0,
“max_operation_time”: 0,
“waiting_time”: 0,
“service_duration”: 0,
“preparation_time”: 0,
“no_vehicles”: 0,
“no_unassigned”: 2,
“routes”: [],
“unassigned”: {
“services”: [],
“shipments”: [
“bins_2”,
“bins_3”
],
“breaks”: [],
“details”: [
{
“id”: “bins_2”,
“code”: 3,
“reason”: “does not fit into any vehicle due to capacity”
},
{
“id”: “bins_3”,
“code”: 3,
“reason”: “does not fit into any vehicle due to capacity”
}
]
}
}
}

Your vehicle_id must be truck_1, but is not. This way the default vehicle type will be used which has a capacity of 0.