# createToken put request does not work properly

**URL:** <https://discourse.lynckia.com/t/createtoken-put-request-does-not-work-properly/24>\
**Category:** Uncategorized\
**Created:** [October 10, 2014, 10:17am UTC](https://discourse.lynckia.com/t/createtoken-put-request-does-not-work-properly/24 "2014-10-10T10:17:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gayan\_Charith\_Elgiri](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@Gayan\_Charith\_Elgiri](https://discourse.lynckia.com/u/Gayan_Charith_Elgiri)\
**Post date:** [October 10, 2014, 10:17am UTC](https://discourse.lynckia.com/t/createtoken-put-request-does-not-work-properly/24/1 "2014-10-10T10:17:31Z")

</div>

I install the licode platform in ubuntu 12.04 . and I run the basic  
example in licode site. But when I run it /createToken put request does not  
run properly and it failed. after that in the console log an error is  
showing in erizo.js:143 , that socke.emit is not defined.  
Thanks.
