Our Stuart integration tests started breaking a few days ago. After digging in, what appears to be happening is new jobs can no longer be created within ~10 seconds of each other. To reproduce, use the example payload provided in the job creation API docs (excluding the pickup_at
field):
{
"job": {
"pickups": [
{
"address": "32 Coombe Ln, Raynes Park, London SW20 0LA",
"comment": "Ask Bobby",
"contact": {
"firstname": "Bobby",
"lastname": "Brown",
"phone": "+33610101010",
"email": "bobby.brown@pizzashop.com",
"company": "Pizza Shop"
}
}
],
"dropoffs": [
{
"package_type": "medium",
"package_description": "yellow package",
"client_reference": "[your_client_ref]",
"address": "23 Ethelbert Rd, London SW20 8QD",
"comment": "3rd floor on the right",
"end_customer_time_window_start": "2021-12-12T11:00:00.000+02:00",
"end_customer_time_window_end": "2021-12-12T13:00:00.000+02:00",
"contact": {
"firstname": "Julia",
"lastname": "Moore",
"phone": "+33712222222",
"email": "client3@email.com",
"company": "Sample Company Inc."
}
}
]
}
}
This should succeed. Then make another job creation request within a few seconds of the first (but with a new client_reference
).
This will fail with a 500 and the following payload:
{
"error": "UNKNOWN",
"message": "Something went wrong. Please try again later."
}
If you keep retrying, about 10 seconds later the request will eventually succeed.
The regression occurred some time between 2025-08-13T23:45:00Z
and 2025-08-14T16:24:00Z
, and has been in effect ever since.
Thanks in advance!