Handle token-request errors