Skip to content

fix(uptime): Explain seat errors when enabling a monitor - #2120

Merged
wedamija merged 1 commit into
mainfrom
danf/uptime-seat-error
Nov 9, 2026
Merged

wedamija merged 1 commit into
mainfrom
danf/uptime-seat-error

Conversation

@wedamija

@wedamija wedamija commented Nov 9, 2026

Copy link
Copy Markdown
Member

Enabling an uptime monitor fails with a field error when the organization has no seat or pay-as-you-go budget. update_uptime_monitor passed that error through as a raw JSON body, and these failures are a large share of the tool's 400s. The tool now returns the server's reason, says that the monitor is still disabled, and tells the agent not to retry until the budget changes or another monitor is disabled.

Other validation errors are unchanged. The check reads detail because @sentry/api drops the parsed body for errors that have no detail field.

When an organization has no seat or budget, update_uptime_monitor returned the raw API body and agents kept retrying. Tell them the monitor stays disabled and what has to change first.
@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 9, 2026 7:34pm UTC

Request Review

@wedamija
wedamija marked this pull request as ready for review November 9, 2026 20:03
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 9, 2026
@wedamija
wedamija merged commit 157edb3 into main Nov 9, 2026
35 checks passed
@wedamija
wedamija deleted the danf/uptime-seat-error branch November 9, 2026 20:05

This branch was successfully deployed

1 active and 1 inactive deployments
Actions — 27d2c344 Deployed Nov 9, 2026 by wedamija via eval #1748
Preview — 27d2c344 Deployed Nov 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant