X-Warning: Invalid OAuth credentials detected


#1

Verify credentials request is:

GET /1/account/verify_credentials.json
Authorization: OAuth oauth_consumer_key=“oOFC0Y0OELWd7XSjyS3uA”,oauth_nonce=“a5y37GQQHkGvtxgEtazOqHH3KELonmU0”,oauth_signature=“yPYduhplHJdFmqGIpUyNZZrFwQ4%3D”,oauth_signature_method=“HMAC-SHA1”,oauth_timestamp=“1328011328”,oauth_token=“5490982-VWxZohJdSLIyrLDmB8cJUHF9PlWRZ4KmIVqIQTpS6E”

Response is 200 OK.

But request to user_timeline:

GET /1/statuses/user_timeline.json?trim_user=true&include_rts=true&user_id=5490982&count=2
Authorization: OAuth oauth_consumer_key=“oOFC0Y0OELWd7XSjyS3uA”,oauth_nonce=“xRETfmyIeXL6Ko9DkuQOfgoZTiArBQ1W”,oauth_signature=“LMuyP89MwyUw1xtZ8F%2FlhEbAM1Q%3D”,oauth_signature_method=“HMAC-SHA1”,oauth_timestamp=“1328011553”,oauth_token=“5490982-VWxZohJdSLIyrLDmB8cJUHF9PlWRZ4KmIVqIQTpS6E”

Response is 200 OK, but has rate limit and warning:

X-Warning: Invalid OAuth credentials detected
X-RateLimit-Reset: 1328011692
X-RateLimit-Limit: 150
X-RateLimit-Remaining: 145

Why? Where is an error?

Thanks.


#2

Solved! :slight_smile:

Bad sign, I don’t use params from URL in sign.


#3

thanks for the fix update, solved my problem too.