Fixed error in Upload ApiClient class