Problem: Errors when initializing the SDK or “ReachSDK is not defined”.Solutions:
// Wait for script to load before initializingconst script = document.createElement('script');script.src = 'https://cdn.embedreach.com/iframe/sdk/sdk.es.js';script.async = true;script.onload = () => { // Only initialize after script has loaded const sdk = new window.ReachSDK(config);};document.body.appendChild(script);
Certain web frameworks, including React/Next.js, can make it easy to
accidentally initialize the SDK multiple times.
A full example of the SDK implementation can be found here. If you continue to experience issues, contact our support team at
support@embedreach.com with:
A description of the issue
Browser and environment details
Any relevant console errors
Steps to reproduce the problem
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Reach Marketing \u0026 Automation Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/reach/VGl-b8qK8JmS6Tpg/logo/reach-logo.svg?fit=max\u0026auto=format\u0026n=VGl-b8qK8JmS6Tpg\u0026q=85\u0026s=d233fb37e119c10d0b620741f92a401d","dark":"https://mintcdn.com/reach/VGl-b8qK8JmS6Tpg/logo/reach-logo.svg?fit=max\u0026auto=format\u0026n=VGl-b8qK8JmS6Tpg\u0026q=85\u0026s=d233fb37e119c10d0b620741f92a401d"},"favicon":"https://mintcdn.com/reach/ol2jimDngsGIddSy/favicon.ico?fit=max\u0026auto=format\u0026n=ol2jimDngsGIddSy\u0026q=85\u0026s=4c7acb93bfaae0adf61e04bedfb56dff","navbar":{"links":[{"href":"mailto:support@embedreach.com","label":"Support"}],"primary":{"type":"button","label":"Home","href":"https://embedreach.com"}},"footer":{},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"reach","hasAudioNarration":false,"actualSubdomain":"reach","customDomains":["docs.embedreach.com"],"gitSource":{"type":"github","owner":"embedreach","repo":"reach-mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aecf5a791d42fb92d276392","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API Reference","count":126},{"language":"default","tag":"API Documentation","count":126},{"language":"default","tag":"Documentation","count":41},{"language":"default","tag":"Default Partner Resources","count":25},{"language":"default","tag":"Core Products","count":19},{"language":"default","tag":"Implementation","count":17},{"language":"default","tag":"Segments","count":14},{"language":"default","tag":"Onboarding","count":14},{"language":"default","tag":"Integration Guide","count":13},{"language":"default","tag":"Engage","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".card-container{display:flex;flex-direction:column;height:100%;min-height:150px;position:relative}.card-content{flex-grow:1;margin-bottom:40px}.status-container{position:absolute;bottom:16px;left:0;width:100%}.developer-card{min-height:100px}.table-status{display:inline-block;text-align:center}.status-pill-wrapper{margin-top:8px;display:inline-block}.live-pill{background-color:#d1fae5;color:#065f46;font-size:0.75rem;font-weight:500;padding:0.25rem 0.625rem;border-radius:9999px}.beta-pill{background-color:#dbeafe;color:#1e40af;font-size:0.75rem;font-weight:500;padding:0.25rem 0.625rem;border-radius:9999px}.alpha-pill{background-color:#fef3c7;color:#92400e;font-size:0.75rem;font-weight:500;padding:0.25rem 0.625rem;border-radius:9999px}.inquire-pill{background-color:#dfafff;color:#000000;font-size:0.75rem;font-weight:500;padding:0.25rem 0.625rem;border-radius:9999px}"}],"page":{"pagePath":"embeddable-ui/iframe/troubleshooting","slug":"/embeddable-ui/iframe/troubleshooting","pageMetadata":{"title":"Troubleshooting","description":"Solutions for common SDK integration issues","href":"/embeddable-ui/iframe/troubleshooting"},"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: \"Solutions for common SDK integration issues\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`If you encounter issues with the Reach SDK, check these common solutions.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication-issues`,children:`Authentication Issues`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem`}),`: Token-related errors or 401 Unauthorized responses.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solutions`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Verify your JWT contains all required fields`}),`\n`,_jsx(_components.li,{children:`Check that your token is properly signed with the correct secret`}),`\n`,_jsx(_components.li,{children:`Ensure your token hasn’t expired (we recommend 1-hour expiration)`}),`\n`,_jsxs(_components.li,{children:[`Confirm your `,_jsx(_components.code,{children:`handleReauthRequested`}),` callback is properly implemented`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`sdk-initialization-problems`,children:`SDK Initialization Problems`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem`}),`: Errors when initializing the SDK or “ReachSDK is not defined”.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Solutions`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`javascript`,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:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Wait for script to load before initializing`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` script`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`createElement`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'script'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`src`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://cdn.embedreach.com/iframe/sdk/sdk.es.js'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`onload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Only initialize after script has loaded`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` sdk`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`ReachSDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`document`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`body`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendChild`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Certain web frameworks, including React/Next.js, can make it easy to\naccidentally initialize the SDK multiple times.`})}),`\n`,_jsx(Heading,{level:`2`,id:`display-issues`,children:`Display Issues`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem:`}),` The Reach interface doesn’t display properly.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Solutions:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Ensure the container element has sufficient dimensions (min-height: 500px recommended)`}),`\n`,_jsx(_components.li,{children:`Verify your theme configuration contains valid values`}),`\n`,_jsx(_components.li,{children:`Check for CSS conflicts from your application`}),`\n`,_jsxs(_components.li,{children:[`Verify your security headers (CSP/COOP) allow the SDK and iframe hosts. See `,_jsx(_components.a,{href:`/embeddable-ui/security-headers`,children:`Security Headers (CSP \u0026 COOP)`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`callback-issues`,children:`Callback Issues`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Problem:`}),` Callbacks not firing or errors when they execute.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Solutions:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Ensure callbacks are properly passed to the SDK configuration`}),`\n`,_jsx(_components.li,{children:`Check that callbacks are defined before they’re passed to the SDK`}),`\n`,_jsx(_components.li,{children:`Return a promise from handleReauthRequested that resolves to the new token`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`For more targeted troubleshooting, open your browser’s console to check for\nspecific error messages from the SDK.`})}),`\n`,_jsx(Heading,{level:`2`,id:`getting-help`,children:`Getting Help`}),`\n`,_jsxs(_components.p,{children:[`A full example of the SDK implementation can be found `,_jsx(_components.a,{href:`/samples/embed`,children:`here`}),`. If you continue to experience issues, contact our support team at\n`,_jsx(_components.code,{children:`support@embedreach.com`}),` with:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A description of the issue`}),`\n`,_jsx(_components.li,{children:`Browser and environment details`}),`\n`,_jsx(_components.li,{children:`Any relevant console errors`}),`\n`,_jsx(_components.li,{children:`Steps to reproduce the problem`}),`\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":"Troubleshooting","description":"Solutions for common SDK integration issues","href":"/embeddable-ui/iframe/troubleshooting"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication Issues","slug":"authentication-issues","depth":2,"children":[]},{"title":"SDK Initialization Problems","slug":"sdk-initialization-problems","depth":2,"children":[]},{"title":"Display Issues","slug":"display-issues","depth":2,"children":[]},{"title":"Callback Issues","slug":"callback-issues","depth":2,"children":[]},{"title":"Getting Help","slug":"getting-help","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"reach","siteName":"Reach Marketing \u0026 Automation Documentation","title":"Troubleshooting - Reach Marketing \u0026 Automation Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-28T21:44:11.533Z","originalFileLocation":"embeddable-ui/iframe/troubleshooting.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=\"Solutions for common SDK integration issues\">\u003cmeta data-mint-head name=\"application-name\" content=\"Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_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/reach/Xd06gTcEFFBFlU7h/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Troubleshooting - Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Solutions for common SDK integration issues\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://reach.mintlify.site/_mintlify/api/og/v2?division=IFrame+Integration\u0026amp;title=Troubleshooting\u0026amp;description=Solutions+for+common+SDK+integration+issues\u0026amp;theme=5c8a24ad9fda3a72fa22f0c7\u0026amp;signature=1fbb30243e929d62b94b8904dc2089586c6c7ecaa1a4671cf5bcc6f7c357c22c\">\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=\"Troubleshooting - Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Solutions for common SDK integration issues\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://reach.mintlify.site/_mintlify/api/og/v2?division=IFrame+Integration\u0026amp;title=Troubleshooting\u0026amp;description=Solutions+for+common+SDK+integration+issues\u0026amp;theme=5c8a24ad9fda3a72fa22f0c7\u0026amp;signature=1fbb30243e929d62b94b8904dc2089586c6c7ecaa1a4671cf5bcc6f7c357c22c\">\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/reach/Xd06gTcEFFBFlU7h/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Reach Marketing \u0026amp; Automation Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/embeddable-ui/iframe/troubleshooting.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.embedreach.com/#organization\",\"name\":\"Reach Marketing \u0026 Automation Documentation\",\"url\":\"https://docs.embedreach.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/reach/VGl-b8qK8JmS6Tpg/logo/reach-logo.svg?fit=max\u0026auto=format\u0026n=VGl-b8qK8JmS6Tpg\u0026q=85\u0026s=d233fb37e119c10d0b620741f92a401d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.embedreach.com#website\",\"name\":\"Reach Marketing \u0026 Automation Documentation\",\"url\":\"https://docs.embedreach.com\",\"publisher\":{\"@id\":\"https://docs.embedreach.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting#webpage\",\"url\":\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting\",\"name\":\"Troubleshooting\",\"description\":\"Solutions for common SDK integration issues\",\"dateModified\":\"2026-01-28T21:44:11.533Z\",\"isPartOf\":{\"@id\":\"https://docs.embedreach.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Implementation\",\"item\":\"https://docs.embedreach.com/embeddable-ui/integration-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Embeddable UI\",\"item\":\"https://docs.embedreach.com/embeddable-ui/integration-overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"IFrame Integration\",\"item\":\"https://docs.embedreach.com/embeddable-ui/iframe/introduction\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Troubleshooting\",\"item\":\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting#article\",\"headline\":\"Troubleshooting\",\"name\":\"Troubleshooting\",\"description\":\"Solutions for common SDK integration issues\",\"url\":\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting\",\"mainEntityOfPage\":{\"@id\":\"https://docs.embedreach.com/embeddable-ui/iframe/troubleshooting#webpage\"},\"dateModified\":\"2026-01-28T21:44:11.533Z\",\"publisher\":{\"@id\":\"https://docs.embedreach.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.embedreach.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Reach Marketing \u0026 Automation Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Reach Marketing \u0026 Automation Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Introduction","pages":[{"title":"Welcome to Reach","href":"/home/welcome"},{"title":"Reach Developer MCP (Beta)","icon":"robot","href":"/home/developer-mcp"},{"title":"Glossary","href":"/home/glossary"}]},{"group":"Core Products","pages":[{"group":"Measure","icon":"chart-line","pages":[{"title":"Introduction","href":"/measure/introduction"}]},{"group":"Engage","icon":"envelope-open-text","pages":[{"title":"Introduction","href":"/engage/introduction"},{"title":"End User Documentation","href":"/engage/end-user-docs"},{"title":"Email Deliverability","href":"/engage/email-configuration"},{"title":"How Automation Works","href":"/engage/automation-summary"},{"title":"Channel Integrations","href":"/engage/channel-integrations"},{"title":"Channel Accounts","href":"/engage/channel-accounts"},{"title":"Channel Senders","href":"/engage/channel-senders"},{"title":"Communication Groups","href":"/engage/communication-groups"},{"group":"Segments","icon":"tags","pages":[{"title":"Segments","icon":"tags","href":"/segments/segments"}]},{"group":"Automations","icon":"wand-magic-sparkles","pages":[{"title":"Introduction","href":"/automations/introduction"},{"title":"Automations","href":"/automations/automations"}]}]},{"group":"Acquire","icon":"bullseye","pages":[{"title":"Introduction","href":"/acquire/introduction"}]},{"group":"Reputation","icon":"star","pages":[{"title":"Introduction","href":"/reputation/introduction"},{"title":"Partner Configurations","href":"/reputation/partner-configurations"}]},{"group":"AI Voice","icon":"headphones","pages":[{"title":"Introduction","href":"/ai-voice/introduction"},{"title":"End User Documentation","href":"/ai-voice/end-user-docs"},{"title":"Tools \u0026 Live Call Updates","href":"/ai-voice/tools-and-live-call-updates"},{"title":"Post-Call Webhook","href":"/ai-voice/post-call-webhook"}]}]},{"group":"Implementation","pages":[{"group":"Embeddable UI","icon":"puzzle-piece","pages":[{"title":"Integration Options","icon":"sliders","href":"/embeddable-ui/integration-overview"},{"title":"Authentication","icon":"user","href":"/embeddable-ui/authentication"},{"group":"IFrame Integration","icon":"window-maximize","pages":[{"title":"Introduction","href":"/embeddable-ui/iframe/introduction"},{"title":"Embedding Reach","href":"/embeddable-ui/iframe/embedding"},{"title":"Implementing Callbacks","href":"/embeddable-ui/iframe/callbacks"},{"title":"Customization","href":"/embeddable-ui/iframe/customization"},{"title":"Demo Mode","description":"Enable demo environment for testing and sales demonstrations","href":"/embeddable-ui/iframe/demo"},{"title":"Troubleshooting","href":"/embeddable-ui/iframe/troubleshooting"}]},{"group":"React Components","icon":"react","pages":[{"title":"Introduction","description":"Embed the Reach Marketing Platform in your application as a React Component","href":"/embeddable-ui/react/introduction"}]},{"group":"API-Driven Custom UI","icon":"network-wired","pages":[]}]},{"group":"Attribution \u0026 Tracking","icon":"share-nodes","pages":[{"title":"Introduction","href":"/attribution/introduction"},{"title":"Setup","href":"/attribution/setup"},{"title":"Testing","href":"/attribution/testing"}]},{"group":"Transaction Data Sync","icon":"database","pages":[{"title":"Introduction","href":"/data-sharing/introduction"},{"title":"How Reach models your data","icon":"diagram-project","href":"/data-sharing/data-model"},{"title":"Requirements","href":"/data-sharing/requirements"},{"title":"Methods","href":"/data-sharing/methods"},{"title":null,"href":"/data-sharing/custom-schemas"}]}]},{"group":"Code Samples","pages":[{"title":"JSON Web Token (JWT) Example","href":"/samples/jwt-tokens"},{"title":"Embed Example","href":"/samples/embed"}]}]},{"tab":"Onboarding","pages":[{"title":"Onboarding","href":"/onboarding/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Troubleshooting - Reach Marketing \u0026 Automation Documentation","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":[],"chunks":[]}