Adding try catch block at create instance with federation user locally.