1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c69ef826-2ef5-419b-abc4-511b613b54c3",e._sentryDebugIdIdentifier="sentry-dbid-c69ef826-2ef5-419b-abc4-511b613b54c3")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"4fdb87eed04ecf49489ec6db9b15acde2c687d66"};(self.webpackChunkdocumentation_ably_realtime=self.webpackChunkdocumentation_ably_realtime||[]).push([[2262],{91103:function(e,t,n){n.r(t),n.d(t,{default:function(){return N}});var a=n(99694),r=n(30758);function l(e){const t=Object.assign({p:"p"},(0,a.RP)(),e.components);return r.createElement(r.Fragment,null,"\n",r.createElement(t.p,null,"The request referred to a party that exists but has not been enabled as an Exchange publisher, so it cannot expose channels as a product for subscribers to receive."))}var i=function(e={}){const{wrapper:t}=Object.assign({},(0,a.RP)(),e.components);return t?r.createElement(t,e,r.createElement(l,e)):l(e)},o=n(62056),s=n(49440),d=n(48734),c=n(70760),u=n(4591),g=n(97453),p=n(62136),m=n(66979),h=n(46149),f=n(84506),b=n(12320),y=n(41785),x=n(88540),v=n(60934),k=n(59150),w=n(80446),j=n(10111),A=n(95333),_=n(10902),E=n(68093),S=n(37281),T=n(63388),I=n(89971),L=n(86070);const C=(0,r.createContext)(void 0),D=({activePage:e,apiKeys:t,children:n,...a})=>{const{sdk:l,setSdk:i}=(()=>{const e=(0,r.useContext)(C);if(!e)throw new Error("useSDK must be used within an SDKProvider");return e})(),g=(0,r.useMemo)(()=>[{term:"RANDOM_CHANNEL_NAME",replacer:u.w}],[]),p=(0,r.useMemo)(()=>{const e=t=>{if("string"==typeof t)return(e=>{let t=e;return g.forEach(({term:e,replacer:n})=>{const a=new RegExp(`{{${e}}}`,"g");t=t.replace(a,n())}),t})(t);if(Array.isArray(t))return t.map(e);if((0,r.isValidElement)(t)){const n=t;return(0,r.cloneElement)(n,n.props,e(n.props.children))}return t};return e(n)},[n,g]),{languageOverride:m,detectedSdkType:h}=(0,r.useMemo)(()=>{const t=e=>{const n=[];return r.Children.forEach(e,e=>{if(!(0,r.isValidElement)(e))return;const a=e.props||{},l=(e=>{if(!e)return null;const t=e.match(/language-(\S+)/);return t?t[1]:null})(a.className);l&&n.push(l),a.children&&n.push.apply(n,(0,o.A)(t(a.children)))}),n},n=t(p),a=n.some(e=>e.startsWith("client_")),l=n.some(e=>e.startsWith("agent_"));return a&&e.isDualLanguage?{languageOverride:e.clientLanguage,detectedSdkType:"client"}:l&&e.isDualLanguage?{languageOverride:e.agentLanguage,detectedSdkType:"agent"}:1===n.length&&["html","xml","css","sql","json","shell","text"].includes(n[0])?{languageOverride:n[0],detectedSdkType:void 0}:{languageOverride:void 0,detectedSdkType:void 0}},[p,e.isDualLanguage,e.clientLanguage,e.agentLanguage]),f="client"===h?"Client":"agent"===h?"Agent":null;return(0,L.jsxs)("div",{className:f?"relative":void 0,children:[f&&(0,L.jsx)("span",{className:"absolute top-2 right-2 z-10 text-xs font-medium uppercase tracking-wider text-neutral-700 dark:text-neutral-300",children:f}),(0,L.jsx)(d.A,{...a,lang:m||e.language,sdk:h||l,onChange:(e,t)=>
1{if("client"===h||"agent"===h){const t="client"===h?"client_lang":"agent_lang",n=new URLSearchParams(location.search);return n.set(t,e),void(0,s.oo)(`${location.pathname}?${n.toString()}`)}h||i(null!=t?t:void 0),(0,s.oo)(`${location.pathname}?lang=${e}`)},className:(0,c.A)(a.className,"my-6"),languageOrdering:e.product&&S.x7[e.product]?Object.keys(S.x7[e.product]):[],apiKeys:t,fixed:!1,children:p})]})},R=(e,t,n="")=>null!=e&&e[t]?e[t]:n,M=({children:e,pageContext:t,location:n})=>{var a,l,i,o;const{frontmatter:s}=t,{json_ld:d}=s,{activePage:c}=(0,E.LV)(),{0:u,1:M}=(0,r.useState)(null!==(a=null===(l=t.languages)||void 0===l||null===(i=l.filter(e=>e.startsWith("realtime")||e.startsWith("rest")))||void 0===i||null===(o=i.find(e=>c.language&&e.endsWith(c.language)))||void 0===o?void 0:o.split("_")[0])&&void 0!==a?a:void 0),N=(0,r.useContext)(_.A),O=R(s,"title"),P=R(s,"meta_description","Ably provides a suite of APIs to build, extend, and deliver powerful digital experiences in realtime. Organizations like Toyota, Bloomberg, HubSpot, and Hopin depend on Ablyâs platform to offload the growing complexity of business-critical realtime data synchronization at global scale."),X=R(s,"intro"),$=R(s,"meta_keywords"),K=R(s,"identifier"),W=(0,I.G)(O,c.product||"pub_sub"),{canonicalUrl:q}=(0,T.Q)(),z=q(n.pathname),H=(0,A.d)(z),B=(0,r.useMemo)(()=>{if(null!=d){if("object"==typeof d&&!Array.isArray(d))return d;console.warn(`Ignoring invalid json_ld frontmatter on ${n.pathname}: expected an object, received ${Array.isArray(d)?"array":typeof d}.`)}if(!c.languages||c.languages.length<=1)return;const e=c.languages.map(e=>{var t,a;return{"@type":"SoftwareSourceCode",programmingLanguage:null!==(t=null===(a=S.Dq[e])||void 0===a?void 0:a.label)&&void 0!==t?t:e,url:q(`${n.pathname}?lang=${e}`)}});return{"@context":"https://schema.org","@type":"TechArticle",headline:O,description:P,url:z,hasPart:e}},[d,c.languages,O,P,z,n.pathname,q]);(0,p.j)();const V=(0,r.useMemo)(()=>{const e=N.apps&&N.apps.length>0&&N.apps[0].apiKeys.length>0?N.apps:[],t=e.some(({demo:e})=>!e)?e.filter(({demo:e})=>!e):e;return t.length>0?t.flatMap(({name:e,apiKeys:t,demo:n})=>({app:n?"demo":e,keys:t.map(e=>({name:e.name,key:e.whole_key}))})):[{app:"demo",keys:[{name:"demo",key:"demokey:123456"}]}]},[N.apps]);return(0,L.jsxs)(C.Provider,{value:{sdk:u,setSdk:M},children:[(0,L.jsx)(j.p,{title:O,metaTitle:W,canonical:z,description:P,keywords:$,structuredData:B}),(0,L.jsx)("noscript",{children:(0,L.jsxs)("div",{style:{padding:"1rem",margin:"1rem",border:"1px solid #ccc",borderRadius:"4px",backgroundColor:"#f9f9f9"},children:[(0,L.jsx)("p",{children:(0,L.jsx)("strong",{children:"Looking for machine-readable content?"})}),(0,L.jsxs)("ul",{children:[(0,L.jsx)("li",{children:(0,L.jsx)("a",{href:H,children:"View this page as Markdown"})}),(0,L.jsx)("li",{children:(0,L.jsx)("a",{href:"/llms.txt",children:"Browse all documentation pages (llms.txt)"})})]}),(0,L.jsx)("p",{children:(0,L.jsxs)("em",{children:["Tip: Request pages with ",(0,L.jsx)("code",{children:"Accept: text/markdown"})," header or use a recognized LLM user agent to receive markdown directly."]})})]})}),(0,L.jsx)(w.A,{children:(0,L.jsx)(m.XW,{children:(0,L.jsxs)(k.vX,{components:{If:g.A,Code:e=>(0,L.jsx)(D,{activePage:c,apiKeys:V,...e}),Aside:b.A,Table:m.XI,table:m.XI.Root,thead:m.XI.Header,tbody:m.XI.Body,tr:m.XI.Row,th:m.XI.Head,td:m.XI.Cell,Tiles:h.U,MethodSignature:y.y,Tabs:x.t,Tab:x.o,RequiredBadge:v.A},children:[(0,L.jsx)(f.z,{title:O,intro:X,subtitle:K?(0,L.jsx)("code",{className:"inline-flex items-center rounded border-[0.5px] border-neutral-500 dark:border-neutral-800 bg-neutral-100 dark:bg-neutral-1200 px-1.5 py-[3px] font-mono font-medium text-[20px] leading-normal text-neutral-1000 dark:text-neutral-300",children:K}):void 0}),e]})})})]})};function N(e){return r.createElement(M,e,r.createElement(i,e))}}}]); 2//# sourceMappingURL=component---src-components-layout-mdx-wrapper-tsx-content-file-path-src-pages-docs-platform-errors-codes-71102-publisher-not-enabled-for-exchange-mdx-e965cb38933870b4e8c3.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.