Twitter has lost legal indemnity in India because of its failure to comply with new rules requiring it to appoint key officers in India, government sources said today, shortly after a case was filed in Uttar Pradesh against the social media giant over posts on a viral video of an assault that the police say tried to incite communal trouble.