Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4082532
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:11:58+00:00 2026-05-20T18:11:58+00:00

I am getting this exception with facebook_oauth 0.2.0 in production server ———– OAuth2::HTTPError: Received

  • 0

I am getting this exception with facebook_oauth 0.2.0 in production server ———–

OAuth2::HTTPError: Received HTTP 400 during request.>
Received HTTP 400 during request.
/usr/local/ruby-enterprise/lib/ruby/gems/1.8/gems/oauth2-0.1.0/lib/oauth2/client.rb:80:in `request'
/usr/local/ruby-enterprise/lib/ruby/gems/1.8/gems/oauth2-0.1.0/lib/oauth2/strategy/web_server.rb:15:in `get_access_token'

=> when executing this line of ruby code, access_token = @client.authorize(:code => params[:code])

But the same code working in the local server. I stumbled last two days about this issue. Anyone please help me??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:11:58+00:00Added an answer on May 20, 2026 at 6:11 pm

    I had this exact same problem and spent a fair few maddening hours analysing what looked like good code. Then I did a simple inspect on my oauth client and discovered that it was missing the secret key!

    @secret=""
    

    I’d misspelt the ref of the secret key when pulling it from my config YML file! The first part of the authorization process doesn’t need the secret, so didn’t fail. Anyway, added the secret in, and bamn!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the exception that I'm getting when I'm trying to bind to a
I'm getting this problem: PHP Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable
Im getting this exception in the protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged
I am getting this exception: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication
I'm getting this Exception System.InvalidOperationException was unhandled by user code Message=The calling thread cannot
Anyone getting this error when using the new free chart controls MS bought from
I am getting this error now that I hit version number 1.256.0: Error 4
I am getting this error when trying to run internet information services on a
I've been getting this undefined symbol building with this command line: $ gcc test.cpp
I am getting this error but only very occasionally. 99.9% of the time it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.