Skip to main content

Troubleshooting

Most refusals in PruneSEO are deliberate and name their cause. This page maps the actual responses to what to do next.

The error envelope​

A normal error looks like this:

{
"error": {
"code": "FORBIDDEN",
"message": "You do not have permission to perform this action",
"details": {}
}
}

code is stable and suitable for branching. message is written for a person. details carries field-level validation errors or structured context such as a current version or an active crawl id.

Two exceptions:

  • WAF/Sentinel refusals may return a flat body instead of this envelope.
  • A crashed process may return a proxy error with no JSON at all.

Quick reference​

StatusCodeMeaningFix
400BAD_REQUESTThe request could not be understoodCheck method, path and JSON
400INVALID_BODYBody is not valid JSON or not the expected shapeMatch the documented fields
400NO_ORGANIZATIONNo workspace selectedSend X-Organization-ID
401UNAUTHORIZEDNot signed inSign in or send a valid token
401INVALID_TOKENToken is malformed, expired or issued for something elseRefresh or sign in again
401INVALID_CREDENTIALSEmail/password do not matchRecheck; a locked account reports this too
401INVALID_TOTP_CODESecond-factor code is wrong or expiredUse the current code
401INVALID_PENDING_TOKENThe between-passwords token expiredSign in again
403ACCOUNT_DISABLEDAccount is deactivatedContact an administrator
403FORBIDDENPermission missingGrant the permission
403EMAIL_NOT_VERIFIEDAddress not confirmedVerify, or resend the email
404NOT_FOUNDNo such row, or none visible in this workspaceCheck the id and workspace
409CONFLICTA state collisionRead the message; often an active crawl
409VERSION_CONFLICTThe record changed since you loaded itReload and retry with the new version
422VALIDATION_ERRORA field or filter value is invalidRead details
429RATE_LIMITEDToo many attemptsWait and retry
500INTERNAL_ERRORServer faultRetry once; the detail is in the log
503PAYMENTS_UNAVAILABLEStripe is not configured in this deploymentBilling cannot run here
502/503PAYMENT_PROVIDER_ERRORStripe refused or failedRead the message; retry later

Sign-in problems​

What you seeLikely cause
INVALID_CREDENTIALS every timeWrong password, unknown email, locked account, or an OAuth-only account
ACCOUNT_DISABLEDAn administrator deactivated the account
EMAIL_NOT_VERIFIEDThe deployment requires verification and the address was never confirmed
INVALID_LINKReset or verification token expired (1 hour and 48 hours respectively) or was already used
Login succeeds by API but not in the browserThe account has 2FA enabled; the web login page has no TOTP step
RATE_LIMITED on loginToo many attempts; the limit is per IP and per route
Session stops workingIdle timeout (7 days), absolute lifetime (30 days), or revocation

A password reset revokes every session. That is expected, not a bug.

Workspace and permission problems​

MessageMeaning
“Select an organization first (send the X-Organization-ID header)”No workspace resolved
“Organization not found”Suspended, deleted, or not a member
“You do not have permission to perform this action”The route's permission is missing
“This action requires administrator access to this organization”Org role is not ADMIN
“requires platform administrator access”Platform authority is required
“Website not found” on a real websiteWrong tenant, or the website belongs to another workspace

The default workspace owner cannot create websites or start crawls under the seeded roles. See Roles and Permissions before hunting for a frontend bug.

Crawl problems​

MessageMeaning
“a run is already active on this website (run …)”One crawl per website; details.active_run_id names it
“Crawl run already finished”Cancel was called after the run closed
“Crawl run must finish before it can be analyzed”Re-analysis was attempted on a live run
“Website not found”Wrong id or wrong workspace
A run ends partialA cap or cancellation stopped it; read the stop reason
A run ends completed_with_errorsThe site returned failures; the run still produced a report
A crawl is queued for a long timeNo worker has claimed it, or the queue is backed up

If a crawl has no findings, first confirm it finished, was analysed, and fetched the pages. An empty finding list is not proof that a page is healthy.

Website and import problems​

MessageMeaning
websites.max requires a paid planNo active entitlements
websites.max is limited to N and this workspace already has NNo free website slot
VERSION_CONFLICTThe website changed since it was loaded
“This record changed after you loaded it. Reload it and try again.”Same conflict, with details.current_version
Import row failuresRows beyond the plan ceiling or invalid row data; the job reports row numbers
Import returns 202Accepted; poll GET /imports/:id
Import job not foundWrong job id, or the job was never created

A malformed If-Match matches no row and therefore returns a conflict rather than risking an overwrite.

Billing problems​

MessageMeaning
“Only the owner of this workspace can change what it pays for”Checkout attempted by a member
“this account already has a subscription: manage it in the billing portal”A live subscription already exists
“there is an unfinished checkout on this account…”incomplete subscription; support must clear it
“this account has never subscribed, so there is nothing to manage”Portal opened with no customer
“there is no live subscription on this account”Cancel called with nothing to cancel
“this subscription is not ending, so there is nothing to resume”Resume called without cancel_at_period_end
PAYMENTS_UNAVAILABLEStripe is not configured
PAYMENT_PROVIDER_ERRORStripe rejected the request; message carries its reason

A webhook may lag a checkout by seconds. Use POST /subscriptions/refresh?session_id=… to settle the page immediately.

Validation problems​

  • Unknown family, severity, confidence, nature, cohort, state, quality, status_class or sort values return 422 naming the field.
  • Page numbers below 1 become 1; page sizes are clamped (default 20, maximum 100). Pagination does not error.
  • A missing required checkout field returns 422 with a details map.
  • An unknown plan returns 422 with the list of valid tiers.

When the response is not JSON​

A flat HTML or text refusal usually comes from the WAF/Sentinel layer before the application. Common triggers:

  • a request body above the edge limit, including CSV imports,
  • spreadsheet cells that look like injection payloads,
  • malformed multipart uploads.

Retry with a smaller or cleaner payload. If a legitimate import is blocked, contact the operator; the block is at the edge, not in PruneSEO.

A diagnostic checklist​

  1. Status code — tells you the class of problem.
  2. Code — tells you the exact rule.
  3. Message and details — names the field, limit or conflicting row.
  4. Workspace header — confirm X-Organization-ID.
  5. Role — confirm the caller holds the permission the route requires.
  6. State — confirm the run/site/subscription is in a state that allows the action.
  7. Plan — confirm the workspace has an entitlement for the limit.

If the response is INTERNAL_ERROR, retry once. If it repeats, capture the time, the endpoint and any request id in the response headers for the operator.

Known limitations that look like bugs​

  • The add-website screens call endpoints that do not exist yet; use the website API.
  • The web login cannot complete a TOTP challenge.
  • Issues, recommendations, URLs, dashboard and history screens are placeholders.
  • The bare website detail link redirects to an unbuilt overview page.
  • Access mode and verification status are recorded labels; they do not gate crawling or prove ownership.
  • The default workspace owner lacks website/crawl permissions.
  • Billing portal, cancel and resume are member-scoped while checkout is owner-only.
  • Discovery must be run separately before the first crawl.
  • The Search Console settings screen is a placeholder with no backend; there is no Search Console connection, health score, campaign, artifact, schedule or deployment feature.

Back to Getting Started.