function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
WenHao OoiWenHao Ooi 

Live Agent Chat - Unable to establish with custom chat window

I have set up live chat in my dev org and am able to conduct a session without problem.  However,  when I use a custom chat page,  no connection is made and the page just hangs at the point of connecting to an agent.

I'm seeing the following error in the console,  which might be the cause - I'm not sure:

Uncaught Error: Organization ID must be set!
window.liveagent.chasitor.init @ chasitor.js:70
Sfdc.provide.init @ LiveAgentChatWindow.js:24
(anonymous function) @ LiveAgentCustomChat?language=&core.apexpages.devmode.url=1:148

Anyone have any idea on how to fix this?
Best Answer chosen by WenHao Ooi
NagendraNagendra (Salesforce Developers) 
Hi WenHao,

First and foremost sincerely regret delayed reply.

That's pretty simple, This can happen because of a conflict with the developer mode being turned On for the user.

Kindly mark this post as solved if the information help's so that it gets removed from the unanswered queue and becomes a proper solution which results in helping others who are really in need of it.

Best Regards,
Nagendra.P