The remote server returned an error: (400) Bad Request.

49 views
Skip to first unread message

Anu V Vivin

unread,
Dec 4, 2014, 11:35:19 PM12/4/14
to adwor...@googlegroups.com

I got below error how to resolve this issue?


The remote server returned an error: (400) Bad Request.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request.

Source Error:

Line 160:        HttpWebRequest request = BuildRequest(downloadUrl, postBody);
Line 161:        try {
Line 162:          response = request.GetResponse();
Line 163:          return new ReportResponse(response);
Line 164:        } catch (WebException ex) {

Josh Radcliff (AdWords API Team)

unread,
Dec 8, 2014, 9:15:32 AM12/8/14
to adwor...@googlegroups.com
Hi,

Please check your logs to get the full body of the SOAP fault, which will contain more information on the underlying cause of the failure.

One thing to keep in mind is that when posting errors such as this, please also post your request after removing any sensitive information (see the forum rules regarding what constitutes sensitive information). This will make it much easier for people to help you identify the source of the problem.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages