Throw error if create fails