401 Not Authorized (Timestamp out of bounds)


Do not know why I get this error.
Someone could tell me why I get this error when I try to allow a Web application to interact with Twitter? … Thank you.


Make sure that on whatever computer or phone you’re doing this on has the clock set correctly…


My server marks the local time, GMT London. Not sure if it’s correct. I guess so.
What should be the correct time for the application to work and how do I change this?


You can find the current time as understood by Twitter’s servers by examining the Date HTTP header in every API response – our OAuth implementation requires that you’re clock generally be within about 5 minutes of our own.

[data] => Failed to validate oauth signature and token
[code] => 401
[time] => 2.518229
[length] => 44
[type] => text/html; charset=utf-8

on this where is your server time


You’re not displaying the HTTP header there. Take a look at that, it will have a Date value.