CorefinityCorefinityDocs
Open the Control PanelControl Panel
Error pages · 5 of 8

corestack_error_pages_test

Test an environment's error pages on the site.

Scope readNo secrets returned
On this page

When to use it

Check the site itself, read-only. Nothing is changed.

  • kind: live asks the site for path (default /) the way a visitor would, through Cloudflare, and answers the status, the headers that matter (server, cf-cache-status, content-type, retry-after, cache-control), the size of the body, its first 2 KiB, and who drew the answer: app, platform (our page), custom (your page), cloudflare or unknown. Only the environment's own addresses are asked; a host that points anywhere else is refused.
  • kind: render asks the environment for each of its pages and answers, per page, which version is live and whether it rendered. Use it after a change to see that the new pages arrived. While maintenance is on, every request gets the maintenance page, so only that page is checked.

6 tests a minute for each environment, whoever sends them.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_error_pages_test with site_id 4211, kind live, path /checkout. (Test an environment's error pages on the site.) Tell me what it returned.

Inputs

kindstringRequired

live or render.

liverender
pathstring

For live, the path to ask for. Starts with /; no #. Up to 512 characters.

site_idintegerRequired

The environment row. At least 1.

Example call

tools/call
{
  "name": "corestack_error_pages_test",
  "arguments": {
    "site_id": 4211,
    "kind": "live",
    "path": "/checkout"
  }
}

If it is refused

ReasonWhat to do
feature_offError pages are not available to you yet.
managed_elsewhereAnother control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
invalid_argumentsThe arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT