Analysis is hard without knowing what client.File.Upload() actually does. It would be helpful if you could provide the actual request/response pair that triggers the error.

Apart from that, home and home_id reference the same directory: home as a literal path (root/users/MyUserName) and home_id as a path identifier (b1480340868.15286) so it is not clear as to why both parameters are provided to Upload().