Update api client to fix parsing error