Skip to content

HTTP status: activities calendar validation

This page documents the problem type URI returned when GET /api/v1/activities/activities/calendar/ rejects the query string (missing window, unparseable datetimes, or ends_at not after starts_at).

type: "https://docs.keja.co/troubleshooting/status-codes/activities.calendar_validation"

Clients should branch on status, type, and structured errors[].code values (not only free-text detail).

ItemValue
Status code422
Content-Typeapplication/problem+json
title (problem)Short human label such as “Calendar requires a datetime window” or “Invalid calendar window”.
detail (problem)Human explanation; do not parse for automation.
CodeMeaning
activities.calendar.missing_windowOne or both of starts_at and ends_at were not provided.
activities.calendar.invalid_datetimeA parameter was present but not a valid ISO 8601 datetime.
activities.calendar.invalid_windowends_at is not strictly after starts_at.

Each issue object should include a pointer (for example "/query") where the API supplies it.