Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [http-400-bad-request]

The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

4
votes
2answers
17k views

ListData.svc returns Error 400: Bad Request in Visual Studio

I wanted to use the REST Service in an application. So when I add the service reference in Visual Studio I get this error There was an error downloading 'http://myMainSite/sites/subSite/_vti_bin/...
3
votes
1answer
1k views

Getting http 400 bad request after database attachment

Our client attached a database from SP 2013 testing environment to SP 2013 Production env. Now they are getting the error: http 400 bad request. I have never done this before, so I was wondering if ...
2
votes
2answers
4k views

Url Length Limit when uploading SharePoint 2013 Online/OneDrive for Business

I'm working on a Winform application which allows a user to upload documents to Onedrive for Business. Essentially you select a folder you want to upload, this creates all of the folders and then ...
2
votes
1answer
1k views

ListData.svc with complex filters, Internet Explorer, 400 Bad HTTP request,

I have a problem understanding how ListData.svc can be debugged using IE8 and IE9. I have a URL that looks like this: hostname:8181/_vti_bin/listdata.svc/ImageBanners?$filter=endswith(Path,'TopLeft'...
2
votes
1answer
280 views

Azure function CSOM The remote server returned an error:(400) bad request

I am trying to make a simple query to sharepoint online using Azure function created in VS2017. My code looks like below: List mylist = myweb.Lists.GetByTitle(listName); CamlQuery camlQuery = new ...
2
votes
0answers
127 views

Request Header issue on SharePoint site

I've made a team site using several Excel Web Access web parts, and a little custom CSS. However, after opening two sub sites, and going for the third, the Excel Web Access web part isn't rendering, ...
1
vote
1answer
2k views

Call SharePoint web service from excel macro vba

I have called SharePoint web service from excel macro VBA with following code from here: Sub CallService() Call Add_Item("List1", "https://contoso.sharepoint.com/sites/site1/", "test item", "...
1
vote
1answer
2k views

400 (Bad Request) ERROR while trying to use JS files in Content Editor Web Part

So, I added some code in Content Editor Web Part and code is started like this: <script src="/<MyURL>/_layouts/15/SP.Runtime.js" type="text/javascript"></script> <script src="/&...
0
votes
2answers
1k views

SP Online: Diagnosing a 400 Bad Request error with UserProfiles.asmx and $.ajax

I'm trying to save a user profile field back to SharePoint using Javascript running within the portal. The request is kicking back a 400 error with no real descriptions of what the error might be. ...
0
votes
2answers
35 views

SharePoint POST REST API returning error code 400

I'm attempting to create an item in SharePoint on premise 2016 list using Java and SharePoint API. Forgive me if I missed it - I see a few related questions but they do not seem to really answer my ...
0
votes
0answers
37 views

Starting SharePoint 2013 workflow using REST from another workflow fails the first time but works on retry

I have two SP 2013 workflows. One (WF1) does a number of things, but at the end of WF1, I'm calling another SP 2013 workflow (WF2) using REST. WF1 runs both on create and change and conditionally ...
0
votes
1answer
311 views

Rest API POST method getting 400 Bad request

Im new on SharePoint 2016 and i want "POST" items to list ` var data = JSON.stringify($scope.formData); console.log(data) data = data.replace(/[{}]/g, ''); var datavalue = "{__metadata:{'type':'...
0
votes
2answers
121 views

sharepoint API rest custom column http 400

I have a list in sharepoint, where I have put the totals of the columns I am interested in. ID Count=50 Certification Count=9 I want to display these counts on another page. I have found a code to ...
0
votes
0answers
162 views

400 Bad Request Invalid verb - when trying to update field value with REST API [duplicate]

I am trying to update a field value in a SharePoint document library through SharePoint REST API. I am successfully when I try using Fiddler. When I send a command through Java code, it gives 400 Bad ...
0
votes
1answer
2k views

Getting HTTP error 400 Bad Request - Invalid URL when trying to update SharePoint field

I am trying to update a field inside a Sharepoint document library using Apache HTTPClient, but keep getting HTTP error 400 - Invalid URL. The code and the output is as mentioned below. Please advise ...
0
votes
0answers
314 views

SP 2013 - Updating a multi-value lookup field via the REST API - Bad request

I am trying to update a multi-value lookup field via the REST Api in a workflow. It works great in Fiddler. However, when I run the workflow I get a 400 bad request error. When I log everything in the ...
0
votes
1answer
96 views

can not add a new value in a custom list

I running: - Windows server 2012 - Sharepoint 2013 - Visual studio 2013 I created a custom list in visual studio and when i'm trying to add a new value inside I got "unexpected response from ...
0
votes
1answer
484 views

400 bad request when connecting to sp2007 kerberos

I am trying to connect from a java client to sharepoint. I manageds to connect to sp2010 ntlm sp2010 kerberos sp2007 ntlm but sp2007 kerberos throws the error below(maybe from the iis): what could ...