License error handling