On the wire
Ships with HTTP status 400, carrying "code": "RU-5013" in the response body alongside the human-readable error message. Existing fields are never replaced by the code: it is additive.
Common causes
- Neither endsAt nor durationMinutes was given, or both were.
- endsAt is before or equal to the effective startsAt.
- A missing title, body, or statusPageId.
How to fix it
- Read the `error` field for the failing field.
- Give exactly one of endsAt (an ISO 8601 timestamp) or durationMinutes.
Related codes
- RU-5014: Maintenance window not found or not creatable
Still stuck?
Ask support and mention RU-5013: the code pins down the exact refusal path, so you skip the diagnostic back-and-forth.