When I tried to add Event it asks for a network connection.

I read content using fromSerialFormat method and trying to import event and then commit it.

Anyone knows why its asking network connection instead of adding the Event ?

Thanks