Changes error code for token not found