+ Start a Discussion
InternalServerErrorInternalServerError 

Live Agent deployment (replace name of Visitor)

I have a test deployment of live agent that works on a vf page.

 

As soon as I try to set a name for the visitor in the code the button stops working (no offline or online version) any ideas ?

 

The button works again as soon as I remove the liveagent.setName(‘John Doe’); line

<script type='text/javascript'>
liveagent.setName(‘John Doe’);
liveagent.init('https://d.la2.salesforceliveagent.com/chat', '572200000000006', '00D20000000CHA7');
</script>
InternalServerErrorInternalServerError

Nevermind, is working now , probably it was a cookie or something.