The code from Plugchoice’s login page expired or was used, or the address isn’t confirmed.
Status
Title
422
This sign-in has expired
Where you see it
Only inside the hosted flow, which handles it. You don’t need to handle it in your app or on your server.
What it means
The code Plugchoice’s login page gave the hosted flow works once and expires quickly. The login page must also have confirmed the address.
What to do
Nothing.
Example
{ "type": "https://developer.plugchoice.com/sdk/errors/code-invalid", "title": "This sign-in has expired", "status": 422, "code": "code-invalid", "detail": "Sign in again."}
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Plugchoice","colors":{"primary":"#0A9181","light":"#0DC5B0","dark":"#067A6E"},"logo":{"light":"https://mintcdn.com/plugchoice/eZ0Fh74qpY1uDCtr/logo/light.svg?fit=max\u0026auto=format\u0026n=eZ0Fh74qpY1uDCtr\u0026q=85\u0026s=88552bc081220e60427c2fe1edfc53c1","dark":"https://mintcdn.com/plugchoice/eZ0Fh74qpY1uDCtr/logo/dark.svg?fit=max\u0026auto=format\u0026n=eZ0Fh74qpY1uDCtr\u0026q=85\u0026s=35eafae239f5af532b4f7f19f0908a66"},"favicon":"https://mintcdn.com/plugchoice/eZ0Fh74qpY1uDCtr/favicon.svg?fit=max\u0026auto=format\u0026n=eZ0Fh74qpY1uDCtr\u0026q=85\u0026s=5adfe64a5c3bb6f18d4256d32a1c9bd9","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.plugchoice.com"}},"navbar":{"links":[{"href":"https://support.plugchoice.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.plugchoice.com"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/plugchoice"}},"contextual":{"options":["copy","claude","chatgpt","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"plugchoice","hasAudioNarration":false,"actualSubdomain":"plugchoice","customDomains":["developer.plugchoice.com"],"gitSource":{"type":"github","owner":"volttime","repo":"core","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0d7b7e47289ae7ff8c5b25","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"API","count":148},{"language":"default","tag":"v3","count":104},{"language":"default","tag":"SDK","count":98},{"language":"default","tag":"Errors","count":71},{"language":"default","tag":"Chargers","count":68},{"language":"default","tag":"All codes","count":51},{"language":"default","tag":"v4","count":44},{"language":"default","tag":"Locations","count":40},{"language":"default","tag":"Settings","count":17},{"language":"default","tag":"Data","count":17}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#navbar.is-wide~#body-content #content-area{max-width:88rem}"}]}
{"page":{"pagePath":"sdk/errors/code-invalid","slug":"/sdk/errors/code-invalid","pageMetadata":{"title":"code-invalid","description":"The code from Plugchoice's login page expired or was used, or the address isn't confirmed.","href":"/sdk/errors/code-invalid"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The code from Plugchoice’s login page expired or was used, or the address isn’t confirmed.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Title`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`This sign-in has expired`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`where-you-see-it`,children:`Where you see it`}),`\n`,_jsx(_components.p,{children:`Only inside the hosted flow, which handles it. You don’t need to handle it in your app or on your server.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-it-means`,children:`What it means`}),`\n`,_jsx(_components.p,{children:`The code Plugchoice’s login page gave the hosted flow works once and expires quickly. The login page must also have confirmed the address.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-to-do`,children:`What to do`}),`\n`,_jsx(_components.p,{children:`Nothing.`}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://developer.plugchoice.com/sdk/errors/code-invalid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This sign-in has expired\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`422`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"code-invalid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"detail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Sign in again.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"code-invalid","description":"The code from Plugchoice's login page expired or was used, or the address isn't confirmed.","href":"/sdk/errors/code-invalid"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Where you see it","slug":"where-you-see-it","depth":2,"children":[]},{"title":"What it means","slug":"what-it-means","depth":2,"children":[]},{"title":"What to do","slug":"what-to-do","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"plugchoice","siteName":"Plugchoice","title":"code-invalid - Plugchoice","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-27T16:08:52.688Z","originalFileLocation":"sdk/errors/code-invalid.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The code from Plugchoice\u0026#x27;s login page expired or was used, or the address isn\u0026#x27;t confirmed.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Plugchoice\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"code-invalid - Plugchoice\">\u003cmeta data-mint-head property=\"og:description\" content=\"The code from Plugchoice\u0026#x27;s login page expired or was used, or the address isn\u0026#x27;t confirmed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Plugchoice\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.plugchoice.com/sdk/errors/code-invalid\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://plugchoice.mintlify.site/_mintlify/api/og/v2?division=All+codes\u0026amp;title=code-invalid\u0026amp;description=The+code+from+Plugchoice%27s+login+page+expired+or+was+used%2C+or+the+address+isn%27t+confirmed.\u0026amp;theme=6eb8803a51fb7c8c8b12a7b6\u0026amp;signature=c538cfbcab6120181784c5c744084e1cf42375cc94ca5b832326302746579299\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"code-invalid - Plugchoice\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The code from Plugchoice\u0026#x27;s login page expired or was used, or the address isn\u0026#x27;t confirmed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://plugchoice.mintlify.site/_mintlify/api/og/v2?division=All+codes\u0026amp;title=code-invalid\u0026amp;description=The+code+from+Plugchoice%27s+login+page+expired+or+was+used%2C+or+the+address+isn%27t+confirmed.\u0026amp;theme=6eb8803a51fb7c8c8b12a7b6\u0026amp;signature=c538cfbcab6120181784c5c744084e1cf42375cc94ca5b832326302746579299\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/plugchoice/p35iseFFU6_Wofx1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Plugchoice\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0A9181\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.plugchoice.com/sdk/errors/code-invalid\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk/errors/code-invalid.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.plugchoice.com/#organization\",\"name\":\"Plugchoice\",\"url\":\"https://developer.plugchoice.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/plugchoice/eZ0Fh74qpY1uDCtr/logo/light.svg?fit=max\u0026auto=format\u0026n=eZ0Fh74qpY1uDCtr\u0026q=85\u0026s=88552bc081220e60427c2fe1edfc53c1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.plugchoice.com#website\",\"name\":\"Plugchoice\",\"url\":\"https://developer.plugchoice.com\",\"publisher\":{\"@id\":\"https://developer.plugchoice.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.plugchoice.com/sdk/errors/code-invalid#webpage\",\"url\":\"https://developer.plugchoice.com/sdk/errors/code-invalid\",\"name\":\"code-invalid\",\"description\":\"The code from Plugchoice's login page expired or was used, or the address isn't confirmed.\",\"dateModified\":\"2026-11-27T16:08:52.688Z\",\"isPartOf\":{\"@id\":\"https://developer.plugchoice.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.plugchoice.com/sdk/errors/code-invalid#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.plugchoice.com/sdk/errors/code-invalid#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Errors\",\"item\":\"https://developer.plugchoice.com/sdk/errors\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"All codes\",\"item\":\"https://developer.plugchoice.com/sdk/errors/bad-request\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"code-invalid\",\"item\":\"https://developer.plugchoice.com/sdk/errors/code-invalid\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.plugchoice.com/sdk/errors/code-invalid#article\",\"headline\":\"code-invalid\",\"name\":\"code-invalid\",\"description\":\"The code from Plugchoice's login page expired or was used, or the address isn't confirmed.\",\"url\":\"https://developer.plugchoice.com/sdk/errors/code-invalid\",\"mainEntityOfPage\":{\"@id\":\"https://developer.plugchoice.com/sdk/errors/code-invalid#webpage\"},\"dateModified\":\"2026-11-27T16:08:52.688Z\",\"publisher\":{\"@id\":\"https://developer.plugchoice.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.plugchoice.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Plugchoice\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Plugchoice\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sdk/errors/code-invalid.md","siteName":"Plugchoice","nav":{"global":null,"tabs":[{"tab":"SDK","groups":[{"group":"Get started","tag":"Beta","pages":[{"title":"Plugchoice SDK","sidebarTitle":"Overview","href":"/sdk"},{"title":"How Link works","href":"/sdk/how-link-works"},{"title":"Get started","href":"/sdk/get-started"},{"title":"Installation","href":"/sdk/install"}]},{"group":"Platforms","pages":[{"title":"iOS","href":"/sdk/ios"},{"title":"Android","href":"/sdk/android"},{"title":"React Native","href":"/sdk/react-native"},{"title":"In a browser","href":"/sdk/web"}]},{"group":"Concepts","pages":[{"title":"Client sessions and scopes","sidebarTitle":"Client sessions","href":"/sdk/concepts/client-sessions"},{"title":"Actions","href":"/sdk/concepts/actions"},{"title":"Link sessions","href":"/sdk/concepts/link-sessions"},{"title":"Devices and capabilities","sidebarTitle":"Devices and capabilities","href":"/sdk/concepts/capabilities"},{"title":"Consent and branding","href":"/sdk/concepts/consent-and-branding"},{"title":"Test and live","href":"/sdk/concepts/test-and-live"}]},{"group":"Chargers","pages":[{"title":"Supported chargers","mode":"wide","href":"/sdk/chargers/index"},{"title":"Alfen","href":"/sdk/chargers/alfen"},{"title":"Charge Amps","href":"/sdk/chargers/charge-amps"},{"title":"Easee","href":"/sdk/chargers/easee"},{"title":"Enovates","href":"/sdk/chargers/enovates"},{"title":"go-e","href":"/sdk/chargers/go-e"},{"title":"Peblar","href":"/sdk/chargers/peblar"},{"title":"Ratio","href":"/sdk/chargers/ratio"},{"title":"SolarEdge","href":"/sdk/chargers/solaredge"},{"title":"Teltonika","href":"/sdk/chargers/teltonika"},{"title":"Volt Time","href":"/sdk/chargers/volt-time"},{"title":"Wallbox","href":"/sdk/chargers/wallbox"},{"title":"Webasto","href":"/sdk/chargers/webasto"},{"title":"Zaptec","href":"/sdk/chargers/zaptec"},{"title":"Other OCPP chargers","href":"/sdk/chargers/other"}]},{"group":"Meters","pages":[{"title":"Meters","href":"/sdk/meters/index"},{"title":"Chargee","href":"/sdk/meters/chargee"},{"title":"Reduxi","href":"/sdk/meters/reduxi"}]},{"group":"API reference","pages":[{"title":"SDK API","sidebarTitle":"Introduction","href":"/sdk/api/index"},{"title":"Create a client session","openapi":"api-reference/sdk/sdk-v1.openapi.yaml POST /client-sessions","href":"/sdk/api/create-client-session"},{"title":"Get a link session","openapi":"api-reference/sdk/sdk-v1.openapi.yaml GET /link-sessions/{link_session_id}","href":"/sdk/api/get-link-session"},{"title":"List chargers","openapi":"api-reference/sdk/sdk-v1.openapi.yaml GET /chargers","href":"/sdk/api/list-chargers"},{"title":"Get a charger","openapi":"api-reference/sdk/sdk-v1.openapi.yaml GET /chargers/{charger_id}","href":"/sdk/api/get-charger"},{"title":"Remove a charger","openapi":"api-reference/sdk/sdk-v1.openapi.yaml DELETE /chargers/{charger_id}","href":"/sdk/api/remove-charger"},{"title":"Start charging","openapi":"api-reference/sdk/sdk-v1.openapi.yaml POST /chargers/{charger_id}/start","href":"/sdk/api/start-charging"},{"title":"Stop charging","openapi":"api-reference/sdk/sdk-v1.openapi.yaml POST /chargers/{charger_id}/stop","href":"/sdk/api/stop-charging"},{"title":"Remove a customer","openapi":"api-reference/sdk/sdk-v1.openapi.yaml DELETE /customers/{external_user_id}","href":"/sdk/api/remove-customer"},{"title":"List transactions","openapi":"api-reference/sdk/sdk-v1.openapi.yaml GET /transactions","href":"/sdk/api/list-transactions"},{"title":"Get a transaction","openapi":"api-reference/sdk/sdk-v1.openapi.yaml GET /transactions/{transaction_id}","href":"/sdk/api/get-transaction"}]},{"group":"Errors","pages":[{"title":"Errors","href":"/sdk/errors/index"},{"group":"All codes","pages":[{"title":"bad-request","href":"/sdk/errors/bad-request"},{"title":"charger-at-other-site","href":"/sdk/errors/charger-at-other-site"},{"title":"charger-offline","href":"/sdk/errors/charger-offline"},{"title":"claim-closed","href":"/sdk/errors/claim-closed"},{"title":"claim-exists","href":"/sdk/errors/claim-exists"},{"title":"claim-limit","href":"/sdk/errors/claim-limit"},{"title":"client-session-expired","href":"/sdk/errors/client-session-expired"},{"title":"command-rejected","href":"/sdk/errors/command-rejected"},{"title":"control-held","description":"Another app controls the charger, and your integration needs control of it.","href":"/sdk/errors/control-held"},{"title":"code-invalid","href":"/sdk/errors/code-invalid"},{"title":"consent-not-needed","description":"This link session has no consent screen.","href":"/sdk/errors/consent-not-needed"},{"title":"consent-required","href":"/sdk/errors/consent-required"},{"title":"forbidden","href":"/sdk/errors/forbidden"},{"title":"handover-not-offered","href":"/sdk/errors/handover-not-offered"},{"title":"identity-not-taken","href":"/sdk/errors/identity-not-taken"},{"title":"meter-not-found","href":"/sdk/errors/meter-not-found"},{"title":"identity-taken","href":"/sdk/errors/identity-taken"},{"title":"location-already-set","href":"/sdk/errors/location-already-set"},{"title":"location-required","href":"/sdk/errors/location-required"},{"title":"method-not-allowed","href":"/sdk/errors/method-not-allowed"},{"title":"no-active-transaction","href":"/sdk/errors/no-active-transaction"},{"title":"no-answer","href":"/sdk/errors/no-answer"},{"title":"not-found","href":"/sdk/errors/not-found"},{"title":"nothing-to-complete","href":"/sdk/errors/nothing-to-complete"},{"title":"pincode-invalid","href":"/sdk/errors/pincode-invalid"},{"title":"plug-in-not-available","href":"/sdk/errors/plug-in-not-available"},{"title":"profile-incomplete","href":"/sdk/errors/profile-incomplete"},{"title":"rate-limited","href":"/sdk/errors/rate-limited"},{"title":"scope-missing","href":"/sdk/errors/scope-missing"},{"title":"scope-required","href":"/sdk/errors/scope-required"},{"title":"sdk-access-required","href":"/sdk/errors/sdk-access-required"},{"title":"server-error","href":"/sdk/errors/server-error"},{"title":"session-ended","href":"/sdk/errors/session-ended"},{"title":"sign-in-code-required","href":"/sdk/errors/sign-in-code-required"},{"title":"sign-in-method","href":"/sdk/errors/sign-in-method"},{"title":"sign-in-not-needed","href":"/sdk/errors/sign-in-not-needed"},{"title":"sign-in-required","href":"/sdk/errors/sign-in-required"},{"title":"site-not-saved","href":"/sdk/errors/site-not-saved"},{"title":"site-required","href":"/sdk/errors/site-required"},{"title":"start-code-invalid","href":"/sdk/errors/start-code-invalid"},{"title":"unauthenticated","href":"/sdk/errors/unauthenticated"},{"title":"unknown-version","href":"/sdk/errors/unknown-version"},{"title":"unsupported-device-type","href":"/sdk/errors/unsupported-device-type"},{"title":"validation-failed","href":"/sdk/errors/validation-failed"},{"title":"vendor-charger-offline","href":"/sdk/errors/vendor-charger-offline"},{"title":"vendor-error","href":"/sdk/errors/vendor-error"},{"title":"vendor-not-permitted","href":"/sdk/errors/vendor-not-permitted"},{"title":"vendor-rate-limited","href":"/sdk/errors/vendor-rate-limited"},{"title":"vendor-sign-in-failed","href":"/sdk/errors/vendor-sign-in-failed"},{"title":"vendor-sign-in-required","href":"/sdk/errors/vendor-sign-in-required"},{"title":"vendor-unavailable","href":"/sdk/errors/vendor-unavailable"}]}]},{"group":"Resources","pages":[{"title":"Security","href":"/sdk/security"},{"title":"Versions","href":"/sdk/versioning"},{"title":"Changelog","href":"/sdk/changelog"}]}]},{"tab":"API","menu":[{"item":"v3","description":"Stable","pages":[{"title":"v3","href":"/guides/introduction"}]},{"item":"v4","description":"Pre-release","pages":[{"title":"v4","href":"/v4/introduction"}]}],"pages":[{"title":"API","href":"/guides/introduction"}]},{"tab":"Map","pages":[{"title":"Map","href":"/map"}]}]},"basePath":"","title":"code-invalid - Plugchoice","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":[],"chunks":[]}