corestack_ error_ pages_ test
Test an environment's error pages on the site.
When to use it
Check the site itself, read-only. Nothing is changed.
kind: liveasks the site forpath(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, andwhodrew the answer:app,platform(our page),custom(your page),cloudflareorunknown. Only the environment's own addresses are asked; a host that points anywhere else is refused.kind: renderasks 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
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.
liverenderpathstring
For live, the path to ask for. Starts with /; no #. Up to 512 characters.
site_idintegerRequired
The environment row. At least 1.
Example call
{
"name": "corestack_error_pages_test",
"arguments": {
"site_id": 4211,
"kind": "live",
"path": "/checkout"
}
}If it is refused
| Reason | What to do |
|---|---|
feature_off | Error pages are not available to you yet. |
managed_elsewhere | Another 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_arguments | The 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_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The 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_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?