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

I'm getting this exception from facebook SDK: Fatal error: Uncaught OAuthException: (#506) Duplicate status
I am getting this exception while accessing the jax-ws web service from my client.
Hey guys I am getting this exception when trying to run the query Column
I am getting this Exception application openwnn (process jp.co.omronsoft.openwnn) has stopped in the emulator
I am getting this exception in the LogCat: Unable to start service Intent {
I'm trying to parse and load an XML document, however I'm getting this exception
It's not clear to me why I'm getting this particular exception, it's a red-herring
I'm getting this error Timestamp: 4/2/12 11:56:36 AM Error: uncaught exception: [Exception... Component returned
This is the exception that I'm getting when I'm trying to bind to a
This is the exception that I am getting when I run my application with

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.