Skip to main content
View as Markdown

Error Handling - Events Platform

Error Handling​

HTTP Status / ErrorMeaningResolution
401 UnauthorizedInvalid or expired KSGenerate a fresh KS with userId set — Events Platform requires it
403 ForbiddenKS lacks required permissionsUse an admin KS (type=2); the userId must be an Events Platform team member
500 Internal Server Error (on list)KS userId is not an EP team memberThe userId in the KS must match a user registered as a team member (Admin/Organizer/ContentManager) on the Events Platform instance
404 Not FoundEvent, session, or team member ID does not existVerify the integer ID; resource may have been deleted
400 Bad RequestMissing required field or invalid date formatDates must be ISO 8601 format (e.g., 2025-06-15T09:00:00.000Z). Event IDs are integers.
Duplication job stuckduplicateStatus returns IN_PROGRESS indefinitelyPoll with timeout (5 minutes recommended); if stuck, create the event manually

Retry strategy: For transient errors (HTTP 5xx, timeouts), retry with exponential backoff: 1s, 2s, 4s, with jitter, up to 3 retries. For client errors (401 Unauthorized, 403 Forbidden, 400 Bad Request), fix the request before retrying — these will not resolve on their own. For async operations (event duplication), poll with increasing intervals (5s, 10s, 30s) rather than tight loops.