06-30-2014 22:48 - edited 06-30-2014 22:49
06-30-2014 22:48 - edited 06-30-2014 22:49
Hello Guys,
I am requesting for acces_token working with php.
I got error invalid signature or token 'Rknse1PC6xh93HEki7461b7tCY0=' or token '1ba7e2d6ad40019cd79280a13b9e4e40'.
please suggest me what to do.
07-01-2014 09:20
07-01-2014 09:20
Can you tell us more about the OAuth client you are using, the base string being generated, etc?
07-01-2014 22:01
07-01-2014 22:01
This is the error i got:
[previous:Exception:private] => [lastResponse] => {"errors":[{"errorType":"oauth","fieldName":"oauth_access_token","message":"Invalid signature or token 'BWkUno0q36fDPEt6dENYxy9enCY=' or token '4bd68310ec8ab190e6c980d72dd4bec7'"}],"success":false} [debugInfo] => Array ( [sbs] => GET&http%3A%2F%2Fapi.fitbit.com%2Foauth%2Faccess_token&oauth_consumer_key%3D1718a02ee6f542029e884f08ad2d98ac%26oauth_nonce%3D160742897353b39188569694.57592880%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1404277128%26oauth_token%3D4bd68310ec8ab190e6c980d72dd4bec7%26oauth_verifier%3Deo4ithp1g7i91v8pd4rs797ejp%26oauth_version%3D1.0 [headers_sent] => Authorization: OAuth oauth_verifier="eo4ithp1g7i91v8pd4rs797ejp",oauth_consumer_key="1718a02ee6f542029e884f08ad2d98ac",oauth_signature_method="HMAC-SHA1",oauth_nonce="160742897353b39188569694.57592880",oauth_timestamp="1404277128",oauth_version="1.0",oauth_token="4bd68310ec8ab190e6c980d72dd4bec7",oauth_signature="BWkUno0q36fDPEt6dENYxy9enCY%3D" [headers_recv] => HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1 X-UA-Compatible: IE=edge,chrome=1 Set-Cookie: JSESSIONID=188DDB10043F4D2EBB334D65F489C8EB.fitbit1; Path=/ WWW-Authenticate: OAuth realm="http%3A%2F%2Fapi003-g4.prod.dal05.fitbit.com" Set-Cookie: fhttps=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/ Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-control: no-store, no-cache, must-revalidate Pragma: no-cache Content-Type: application/json;charset=UTF-8 Content-Language: en-US Content-Length: 197 Vary: Accept-Encoding Date: Wed, 02 Jul 2014 04:59:26 GMT Connection: close X-Frame-Options: SAMEORIGIN [body_recv] => {"errors":[{"errorType":"oauth","fieldName":"oauth_access_token","message":"Invalid signature or token 'BWkUno0q36fDPEt6dENYxy9enCY=' or token '4bd68310ec8ab190e6c980d72dd4bec7'"}],"success":false} ) )