paperclipai/paperclip · error · Error
Only remote HTTP drafts can be checked and activated from pa
Error message
Only remote HTTP drafts can be checked and activated from pasted config.
What it means
Error "Only remote HTTP drafts can be checked and activated from pasted config." thrown in paperclipai/paperclip.
Source
Thrown at ui/src/pages/tools/PasteConfigTab.tsx:114
* M8a — "Paste a config" tab on the Advanced door (PAP-10862, plan D8).
*
* A thin, honest surface over `POST /companies/:id/tools/mcp/import-json`: paste
* the snippet a README tells you to copy, and we parse it into a friendly
* preview (humanized field labels, never the raw transport jargon). This is one
* of the two M8 screens where "MCP" vocabulary is allowed (PAP-10827 vocab map).
*/
export function PasteConfigTab({ companyId }: { companyId: string }) {
const navigate = useNavigate();
const [draftText, setDraftText] = useState("");
const [preview, setPreview] = useState<McpJsonImportPreview | null>(null);
const [connectionNames, setConnectionNames] = useState<Record<string, string>>({});
const [credentialValues, setCredentialValues] = useState<Record<string, string>>({});
const [connectResult, setConnectResult] = useState<ConnectToolAppResult | null>(null);
const [enabled, setEnabled] = useState<Record<string, boolean>>({});
const [activatedName, setActivatedName] = useState<string | null>(null);
const [oauthPhase, setOAuthPhase] = useState<OAuthConnectPhase>("entry");
const [oauthError, setOAuthError] = useState<string | null>(null);
const [authorizationHost, setAuthorizationHost] = useState<string | null>(null);
const importMutation = useMutation({
mutationFn: (mcpJson: string) => toolsApi.importMcpJson(companyId, { mcpJson }),
onSuccess: (result) => {
setPreview(result);
setConnectionNames(Object.fromEntries(result.drafts.map((draft) => [draft.name, draft.name])));
setConnectResult(null);
setActivatedName(null);
},
});
const openAuthorizationPage = async (
authorizationUrl: string,
handoff?: ToolOAuthStartResult["handoff"],
) => {
try {
const target = await prepareOAuthNavigation({ authorizationUrl, handoff });
if (target.kind === "reauthentication" && handoff) {View on GitHub (pinned to 01ad858492)
Solutions
- Use a remote HTTP draft; local drafts cannot be checked and activated from pasted config.
When it happens
Trigger: Thrown at ui/src/pages/tools/PasteConfigTab.tsx:113 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18).
Data as JSON: /api/errors/5454ec023124a2eb.
Report an issue: GitHub.