Fixed error handling for consent denied