[client][managed] Throw a conflict exception on 409

Bringing it from offline branch as it is not related to offline and should prevent merge conflicts.