Authentication failure after regenerating new Consumer Key

twitter4j

#1

Hi there,
I requested for User email access permission , after that i regenerated newConsumer Key’s and Consumer Secre and as well Access Token and Access Token Secret…with those new credentials i am getting this Error
"401:Authentication credentials (https://dev.twitter.com/pages/auth) were missing or incorrect. Ensure that you have set valid consumer key/secret, access token/secret, and the system clock is in sync.
message - Could not authenticate you."
before it was working very fine…can i get any help to come out this


#2

It looks like you’re using Twitter4J. Are you sure that you’re using the correct and regenerated keys in the Java code? Double-check the consumer key showing in apps.twitter.com, sometimes you may need to refresh the page to make sure the new one shows up after being regenerated.


#3

yes, i am using Twitter4J, I cross check the credentials those are fine, still i am facing the same issue and i am trying to regenerate the Access Token and secret but didn’t found any changes, it still remains the old one it self…


#4

Wait so you’re saying that the access token on apps.twitter.com is still the same as the old one? That sounds strange.


#5

yes it happens, i am not able to generate the new one, but now my app was responding, still regeneration was not happening…only for access token