Failed to validate oauth signature and token - My Server time is correct!


#1

I am having so many problems with this API and the documentation on troubleshooting is really lacking - can someone help me out please? I need to see why I am getting the above error - I have read up and people have suggested that it could be that the server time is incorrect but I have checked and it is bang on from NTP!

Here are my headers - can you give me any information as to what is happening::

HttpSocketResponse Object
(
    [body] => Failed to validate oauth signature and token
    [headers] => Array
        (
            [cache-control] => no-cache, no-store, must-revalidate, pre-check=0, post-check=0
            [content-length] => 44
            [content-type] => text/html; charset=utf-8
            [date] => Mon, 10 Feb 2014 04:15:14 GMT
            [expires] => Tue, 31 Mar 1981 05:00:00 GMT
            [last-modified] => Mon, 10 Feb 2014 04:15:14 GMT
            [pragma] => no-cache
            [server] => tfe
            [set-cookie] => Array
                (
                    [0] => _twitter_sess=BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoHaWQiJWIyZDMwZTA0MTY3ZmNkOGMzNDg4NTc1%250AZjQyYWE0MDRiOg9jcmVhdGVkX2F0bCsILJEBGkQB--a71def52b514517a859449abd60bc07e0394b064; domain=.twitter.com; path=/; secure; HttpOnly
                    [1] => guest_id=v1%3A139200571420513828; Domain=.twitter.com; Path=/; Expires=Wed, 10-Feb-2016 04:15:14 UTC
                )

            [status] => 401 Unauthorized
            [strict-transport-security] => max-age=631138519
            [vary] => Accept-Encoding
            [x-frame-options] => SAMEORIGIN
            [x-mid] => 83c8b036b4581768d6a7e961ba412c049e2bcaa7
            [x-runtime] => 0.00953
            [x-transaction] => d8de9582f9d5ceb9
            [x-ua-compatible] => IE=10,chrome=1
            [x-xss-protection] => 1; mode=block
            [Connection] => close
        )

    [cookies] => Array
        (
            [_twitter_sess] => Array
                (
                    [value] => BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoHaWQiJWIyZDMwZTA0MTY3ZmNkOGMzNDg4NTc1%250AZjQyYWE0MDRiOg9jcmVhdGVkX2F0bCsILJEBGkQB--a71def52b514517a859449abd60bc07e0394b064
                    [domain] => .twitter.com
                    [path] => /
                    [secure] => 1
                    [httponly] => 1
                )

            [guest_id] => Array
                (
                    [value] => v1%3A139200571420513828
                    [domain] => .twitter.com
                    [path] => /
                    [expires] => Wed, 10-Feb-2016 04:15:14 UTC
                )

        )

    [httpVersion] => HTTP/1.1
    [code] => 401
    [reasonPhrase] => Unauthorized
    [raw] => HTTP/1.1 401 Unauthorized
cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
content-length: 44
content-type: text/html; charset=utf-8
date: Mon, 10 Feb 2014 04:15:14 GMT
expires: Tue, 31 Mar 1981 05:00:00 GMT
last-modified: Mon, 10 Feb 2014 04:15:14 GMT
pragma: no-cache
server: tfe
set-cookie: _twitter_sess=BAh7CCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo%250ASGFzaHsABjoKQHVzZWR7ADoHaWQiJWIyZDMwZTA0MTY3ZmNkOGMzNDg4NTc1%250AZjQyYWE0MDRiOg9jcmVhdGVkX2F0bCsILJEBGkQB--a71def52b514517a859449abd60bc07e0394b064; domain=.twitter.com; path=/; secure; HttpOnly
set-cookie: guest_id=v1%3A139200571420513828; Domain=.twitter.com; Path=/; Expires=Wed, 10-Feb-2016 04:15:14 UTC
status: 401 Unauthorized
strict-transport-security: max-age=631138519
vary: Accept-Encoding
x-frame-options: SAMEORIGIN
x-mid: 83c8b036b4581768d6a7e961ba412c049e2bcaa7
x-runtime: 0.00953
x-transaction: d8de9582f9d5ceb9
x-ua-compatible: IE=10,chrome=1
x-xss-protection: 1; mode=block
Connection: close

Failed to validate oauth signature and token
    [context] => Array
        (
        )

)
No Oauth token received

Thanks