Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Bad Request Error (400)" while trying to upload files to SharePoint library

$
0
0

I was trying to Upload files to the SharePoint document library with Managed Object model.

The clientContext.ExecuteQuery() throws an Error : "The remote server returned an error: (400) Bad Request."

I am using the Add() for uploading the files to library..

1. Can it be possible to resolve this error on client side only?

2. How can I raise a issue with Microsoft for more clarificarion.

already i have used this below code in my method, still i am facing this kind of error.

zipInfo.Content=System.IO.File.ReadAllBytes(filepath);

zipInfo
.Url="Path To Upload file";

Thanks in advance


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>