Skip to content

The App ID in your code snippet has not been set #812

@alexedwardjones

Description

@alexedwardjones

Describe the bug

I'm seeing this warning message even with the most basic setup and my appId hardcoded. I've dug through the codebase but couldn't find anything obvious. Any ideas?

[Intercom] The App ID in your code snippet has not been set. Set it to your App ID found in settings to complete installation: https://app.intercom.com/a/apps/_/settings/web

To Reproduce

import { IntercomProvider } from "react-use-intercom";

export const IntercomChat = ({ children }: { children: React.ReactNode }) => {
  return <IntercomProvider appId="XXXXXXXX">{children}</IntercomProvider>;
};

export default function App() {
  return (
    <IntercomChat>
      <div>
        <h1>Hello World!</h1>
      </div>
    </IntercomChat>
  );
}

Metadata

Metadata

Assignees

Labels

discussionGet feedback for a possible improvementhelp wantedExtra attention is neededquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions