corestack_ error_ pages_ copy
Copy error pages from another environment.
When to use it
Copy another environment's error pages onto this one: the codes, every page with its message, and the support email. Call it on the environment that changes (site_id), name the one to copy from (from_site_id), and send this environment's version from corestack_error_pages_get. To promote staging's pages to production, call it on the production row with confirm_production: true.
The copy is a new revision on this environment and is applied exactly like corestack_error_pages_update: the same task, the same error_pages outcome in its result and the same refusals. The environment copied from does not change. Pages that are already the same answer {operation: null, revision: null}.
Ask for it
Using the Corefinity MCP server, call corestack_error_pages_copy with site_id 4211, from_site_id 4212, version 2, note Promote the staging pages. (Copy error pages from another environment.) Tell me what it returned.Inputs
Required (true) when this environment is production.
The environment to copy from. A token limited to some sites must cover both. At least 1.
Why, shown in the history. Up to 200 characters.
The environment that changes. At least 1.
This environment's version from corestack_error_pages_get. At least 0.
Your assistant fills in a confirmation only after you agree.
Example call
{
"name": "corestack_error_pages_copy",
"arguments": {
"site_id": 4211,
"from_site_id": 4212,
"version": 2,
"confirm_production": true,
"note": "Promote the staging pages"
}
}If it is refused
| Reason | What to do |
|---|---|
confirm | This environment is production; send confirm_production: true. |
stale | Someone changed this environment's pages since version was read. |
error_pages_locked | Corefinity has locked this environment's error pages. |
invalid_page | overlap_nginx_rules, too_large, runtime_lacks_capability, operation_in_progress, switch_reconcile_failed, managed_elsewhere: as corestack_error_pages_update. |
feature_off | Error pages are not available to you yet. |
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. |