Discussions
[Bug API] /ship/rate/ returns internal error for all state=VA communes (Starken)
Endpoint: POST https://api.envia.com/ship/rate/
Carrier: starken, dropOff: 1, type: 1
Country: CL
Problem: All communes in Región de Valparaíso (state: "VA") return HTTP 200
with internal error in the body instead of rate data. No other region is affected.
Example request body:
{
"origin": { "city": "Puente Alto", "state": "RM", "country": "CL", "postalCode": "" },
"destination": { "city": "Valparaiso", "state": "VA", "country": "CL", "postalCode": "2340000" },
"packages": [{ "type": "box", "amount": 1, "weight": 5.0, "weightUnit": "KG",
"lengthUnit": "CM", "dimensions": { "length": 40, "width": 30, "height": 20 },
"declaredValue": 100000, "content": "test" }],
"shipment": { "type": 1, "carrier": "starken", "dropOff": 1 }
}
Error IDs received in response body (field "description"):
ep-6a50e0789d358, ep-6a50e263439e3, ep-6a50f73aabec9,
ep-6a50f73b57566, ep-6a50f73c07749, ep-6a50f73d0169d,
ep-6a50f73db6002, ep-6a50f73e72afe, ep-6a50f73f4a54b, ep-6a50f73feb76e
Affected communes: Valparaíso, Viña del Mar, Quilpué, Villa Alemana,
San Antonio, Los Andes, Quillota, Limache.
Note: same request with carrier "correoschile" returns rates correctly
for the same destinations — the issue is specific to Starken in state VA.
