token info put into error, tests