api.create_instance: logging exception