Skip to content
Error codes · Status pages & incidents

RU-5013: Invalid maintenance window request

The request body for creating a maintenance window was not valid: not JSON, failing field validation, or missing both endsAt and durationMinutes (the API never creates an open-ended window, unlike the dashboard). The `error` field names the first failing field.

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

  1. Read the `error` field for the failing field.
  2. 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.