Error
INVALID_DATETIME
Invalid pickup datetime
- HTTP status
- 422
- Retryable
- No — change the request
- Returned by
- 2 operations
What to do
Send pickup_datetime as an ISO 8601 instant with an offset.
What it looks like
{
"code": "INVALID_DATETIME",
"detail": "A sentence describing this particular failure.",
"field_errors": [],
"instance": "/api/public/v1/...",
"next_action": "Send pickup_datetime as an ISO 8601 instant with an offset.",
"request_id": "req_9f2c1b7ae4d84c6f9b2e10a3",
"retryable": false,
"status": 422,
"title": "Invalid pickup datetime",
"type": "https://swisstouristy.com/developers/errors/invalid_datetime"
}code is the stable contract. detail is prose for a human reading a log and may be reworded at any time — do not parse it, and do not branch on status alone, since several codes share one.