Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a... The remote server returned an error: (400) Bad Request. The remote server returned an error: (400) Bad Request.
Previous
 
Next
New Post
2/12/2013 6:42 PM
 

Hi,

I received the error "The remote server returned an error: (400) Bad Request." when integrating with facebook login.

The detailed error message is as follows:

AssemblyVersion: 6.2.5

PortalID: 0

PortalName: DNN_DEV

UserID: -1

UserName:

ActiveTabID: 55

ActiveTabName: Getting Started

RawURL: /login.aspx?state=Facebook&code=AQBrfHmJXOt7OZq-u7hXj8gKeeHrbFUrALN0e8cN8G2v319CL7Pnw3NSkcP_aVQBlkYuUTDUrmZ91OG62dVBuI23qxgqyuLkfXECuRhETRyguZzC7Gf1TlST8bG3pux9wzmq25N4D-bAaZzA7aMY-JJcKKPFIUE40FuB9TQrdLvo9aiZXD9pTJpJBH4OX3ohBmCzs3B8X7oEl0vU6ntozuUz

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer:

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 2418dd44-eca2-4904-8f20-34ba5b6d18e8

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

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Net.HttpWebRequest.GetResponse

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.GetResponse() at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.ExecuteWebRequest(HttpMethod method, Uri uri, String parameters, String authHeader) at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.ExchangeCodeForToken() at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.AuthorizeV2() at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.Authorize() at DotNetNuke.Services.Authentication.OAuth.OAuthLoginBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---


Can anyone let me know the cause of the problem. I am using DNN version 6.2.5.

Many Thanks

Luke Sayaw

 



 
New Post
3/5/2013 2:42 AM
 

I am getting this same error in the same circumstances, just noticed today, with DNN 6.2.2.

 

Please let me know if you worked it out!

 
New Post
3/18/2013 8:07 AM
 

I have upgraded to 6.2.6 and am getting the same error on our site.

AssemblyVersion: 6.2.6

PortalID: 0

PortalName: WindWanderers

UserID: -1

UserName:

ActiveTabID: 55

ActiveTabName: Home

RawURL: /login.aspx?state=Facebook&code=AQDvVJiN4RZQ2o9tk3OLkWZe9iN-YU1ru5-dP-kCzQIBw5p7HLhJS-qXw1QiIhnzaDmkXYIrdKNYJnIHiUSra0RHwLZ4MMHfke3reJa-uhZaZuRC9kH-Agsdx6x1WCdzPnaaLePrJXlqyh1tfOXSWqbBGYgDFH0OENhYXgRc30eYu16wyRtmKNmtwptouPTRseL-p6lFt-6UWJN9Kkw3fM8K

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.windwanderers.org.au/Default.aspx?tabid=55&error=An%20unexpected%20error%20has%20occurred

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 0f050dd5-dd8b-43e9-8e1a-a0acbababb72

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

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Net.HttpWebRequest.GetResponse

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.GetResponse() at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.ExecuteWebRequest(HttpMethod method, Uri uri, String parameters, String authHeader) at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.GetCurrentUser[TUserData]() at DotNetNuke.Authentication.Facebook.Login.GetCurrentUser() at DotNetNuke.Services.Authentication.OAuth.OAuthLoginBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---


 
New Post
6/8/2013 8:58 AM
 
I'am getting the same error on 6.2.7
 
New Post
6/9/2013 3:22 AM
 

Well, the error stopped for us. Not sure what fixed it, but it persisted for some users until they cleared their browser cache.

We are now on DNN7 and not experiencing the issue any more.

Dylan

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a... The remote server returned an error: (400) Bad Request. The remote server returned an error: (400) Bad Request.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out