Welcome Developers!

in

Welcome!

in

oauth_problem=signature_invalid

Last post 08-02-2010 2:27 PM by Joel. 10 replies.
Page 1 of 1 (11 items)
Sort Posts: Previous Next
  • 09-20-2009 1:04 PM

    oauth_problem=signature_invalid

    I keep getting : "oauth_problem=signature_invalid" and can't work out why. My oauth code works with twitter and blogger so why is it failing here? My signature base is :

     "POST&http%3A%2F%2Fapi.myspace.com%2Frequest_token&%3D%26oauth_consumer_key%3Dhttp%3A%2F%2Fwww.statuspush.co.uk%26oauth_nonce%3D7138719%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1253476797%26oauth_version%3D1.0"

     

  • 09-20-2009 1:28 PM In reply to

    • John
    • Top 200 Contributor
    • Joined on 02-02-2008
    • Posts 27

    Re: oauth_problem=signature_invalid

    Which API are you trying to call? I do not see a path in the signaturebase..
  • 09-20-2009 1:34 PM In reply to

    Re: oauth_problem=signature_invalid

    Sorry forgot to mention I'm still trying to get the request token :

    http://api.myspace.com/request_token

  • 09-21-2009 4:03 AM In reply to

    Re: oauth_problem=signature_invalid

    dude i'm having a problem with Access Token thing... when i fire that query with the standard parameters it gives me back 401.. first 2 steps like request_token & Authorize works fine.. and one more thing i've noted on the hi5.. if my authentication fails today...it will now allow me to authenticate myself for at least 2 hrs...so help me here with Access Token.. how do i fire the access token...
    Filed under:
  • 10-15-2009 6:33 AM In reply to

    Re: oauth_problem=signature_invalid

    I am unable to get a valid access_token too.

    When trying to call "/access_token" with the oauth_token I got from "/request_token" I get "oauth_problem=signature_invalid".

    After a while I found out that if I supply "blabla" as oauth_token, I get "oauth_problem=token_rejected"... this happens with every string I try, except for the oauth_token I got from "/request_token"

    Perhaps this has anything todo with my application not being published? Even then, I need it to work so that I can develop my application (and flow) in a normal way.

     

  • 11-24-2009 6:47 AM In reply to

    Re: oauth_problem=signature_invalid

    Anybody from Myspace who can dive into this? 

  • 12-03-2009 5:31 PM In reply to

    Re: oauth_problem=signature_invalid

     Hello,

    Does this issue still exist? If so, can someone provide me the calls made and the sequence of errors seen? 

     

    thanks,

    Joel

  • 07-24-2010 6:49 AM In reply to

    Re: oauth_problem=signature_invalid

    Hey Joel,

    Sadly problem still exists, I am able to get a request token and was able to go through authentication process but when I request for the access token I get the ff error:

    401 Unauthorized oauth_problem=signature_invalid

    request made using (Net::OAuth):

     

    [debug] request: $VAR1 = \bless( {

                       'version' => '1.0',

                       'request_method' => 'GET',

                       'verifier' => undef,

                       'consumer_key' => '1d41e78f1bd14c82a2819739c2b036e0',

                       'request_url' => 'http://api.myspace.com/access_token',

                       'token_secret' => '',

                       'signature_method' => 'HMAC-SHA1',

                       'timestamp' => 1279975796,

                       'nonce' => 'sxasexyzmcghqsotetv',

                       'consumer_secret' => '7b9f0ea19dd04f4ab9d598d45923740a1a806c1f8fad4642b35c31e62aa11a5f',

                       'extra_params' => {},

                       'oauth_version' => '1.0a',

                       'token' =>
    'pleZzfBmWa1shKbbWxZ6DhD9mlX36jPm3a%2FHwSDrppR6AYzRHeshFbF%2BCK5Nx088JwWCO0uWHvVue7ZkG8tmgov8RqmE3joKOYsbAaEc79punQO3%2FIGgSbWKURtCApgj'

                     }, 'Net::OAuth::AccessTokenRequest' );

    request URL generated:

    http://api.myspace.com/access_token?oauth_consumer_key=1d41e78f1bd14c82a2819739c2b036e0&oauth_nonce=sxasexyzmcghqsotetv&oauth_signature=NoFQZetqaXBUd1%2FYy4JkR%2FrjnxA%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1279975796&oauth_token=pleZzfBmWa1shKbbWxZ6DhD9mlX36jPm3a%252FHwSDrppR6AYzRHeshFbF%252BCK5Nx088JwWCO0uWHvVue7ZkG8tmgov8RqmE3joKOYsbAaEc79punQO3%252FIGgSbWKURtCApgj&oauth_version=1.0

    interesting to know that when I use the MySpace OAuth tool, I get the same URL, which means what I'm generating must be correct (or the oauth tool is faulty).

    Parameters on OAuth tool:

    server          : http://api.myspace.com
    resource url : /access_token
    request method : GET
    consumer key : 1d41e78f1bd14c82a2819739c2b036e0
    consumer secret : 7b9f0ea19dd04f4ab9d598d45923740a1a806c1f8fad4642b35c31e62aa11a5f
    oauth token : pleZzfBmWa1shKbbWxZ6DhD9mlX36jPm3a%2FHwSDrppR6AYzRHeshFbF%2BCK5Nx088JwWCO0uWHvVue7ZkG8tmgov8RqmE3joKOYsbAaEc79punQO3%2FIGgSbWKURtCApgj
    time stamp : 1279975796
    oauth nonce : sxasexyzmcghqsotetv
    signature method: HMAC-SHA1
    version : 1.0
    auth mode : authorization header
    query options : generate uri only

    Results

    request format: URI representation of the request: 
    http://api.myspace.com/access_token?oauth_consumer_key=1d41e78f1bd14c82a2819739c2b036e0&oauth_nonce=sxasexyzmcghqsotetv&oauth_signature=NoFQZetqaXBUd1%2FYy4JkR%2FrjnxA%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1279975796&oauth_token=pleZzfBmWa1shKbbWxZ6DhD9mlX36jPm3a%252FHwSDrppR6AYzRHeshFbF%252BCK5Nx088JwWCO0uWHvVue7ZkG8tmgov8RqmE3joKOYsbAaEc79punQO3%252FIGgSbWKURtCApgj&oauth_version=1.0
    response body:
    1.RequestURI=
    http://api.myspace.com/access_token?oauth_consumer_key=1d41e78f1bd14c82a2819739c2b036e0&oauth_nonce=sxasexyzmcghqsotetv&oauth_signature=NoFQZetqaXBUd1/Yy4JkR/rjnxA=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1279975796&oauth_token=pleZzfBmWa1shKbbWxZ6DhD9mlX36jPm3a%252FHwSDrppR6AYzRHeshFbF%252BCK5Nx088JwWCO0uWHvVue7ZkG8tmgov8RqmE3joKOYsbAaEc79punQO3%252FIGgSbWKURtCApgj&oauth_version=1.0

    2.BaseString=
    GET&http%3A%2F%2Fapi.myspace.com%2Faccess_token&oauth_consumer_key%3D1d41e78f1bd14c82a2819739c2b036e0%26oauth_nonce%3Dsxasexyzmcghqsotetv%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1279975796%26oauth_token%3DpleZzfBmWa1shKbbWxZ6DhD9mlX36jPm3a%25252FHwSDrppR6AYzRHeshFbF%25252BCK5Nx088JwWCO0uWHvVue7ZkG8tmgov8RqmE3joKOYsbAaEc79punQO3%25252FIGgSbWKURtCApgj%26oauth_version%3D1.0

    3.Signature=
    NoFQZetqaXBUd1/Yy4JkR/rjnxA=

     screen shot attached.

    myspace oauth too screenshot

    additional notes: this app is still unpublished

    Badly need your help, thanks!

  • 07-28-2010 1:55 PM In reply to

    Re: oauth_problem=signature_invalid

     There may be an issue with the Oauth tool, we're looking into it. In the meantime, I have escalated this issue to our team to investigate.

     

    thanks,

    Joel

  • 08-02-2010 8:56 AM In reply to

    Re: oauth_problem=signature_invalid

    How has the investigation gone?  I am also having the problem on the access_token step.

  • 08-02-2010 2:27 PM In reply to

    Re: oauth_problem=signature_invalid

     Billy,

    Can you also email developerrelations@myspace-inc.com your six digit appID and a Wireshark http capture of the oauth sequence so we can see what went wrong?

     

    thanks,

    Joel

Page 1 of 1 (11 items)