debug exception on gettoken