Closed Bug 767402 Opened 13 years ago Closed 13 years ago

[traceback] TweepError: Unable to get username, invalid oauth token!

Categories

(support.mozilla.org :: Army of Awesome, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED
2012.13

People

(Reporter: rrosario, Assigned: rrosario)

References

Details

(Whiteboard: u=contributor c=AoA p=1)

Since we are keeping oauth tokens longer, we are getting invalid/expired/whatever token errors now. When this happens, we should just sign them out of twitter and make them reauth. Otherwise, they keep trying to do things and exceptions keep coming in. Traceback (most recent call last): File "/data/www/support.mozilla.org/kitsune/vendor/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/support.mozilla.org/kitsune/vendor/src/django/django/views/decorators/http.py", line 45, in inner return func(request, *args, **kwargs) File "/data/www/support.mozilla.org/kitsune/vendor/src/django-session-csrf/session_csrf/__init__.py", line 127, in wrapper response = f(request, *args, **kw) File "/data/www/support.mozilla.org/kitsune/apps/twitter/__init__.py", line 43, in wrapper return view_func(request, *args, **kwargs) File "/data/www/support.mozilla.org/kitsune/apps/customercare/views.py", line 321, in landing twitter.authed else None), File "/data/www/support.mozilla.org/kitsune/vendor/src/tweepy/tweepy/auth.py", line 161, in get_username raise TweepError("Unable to get username, invalid oauth token!") TweepError: Unable to get username, invalid oauth token!
Priority: -- → P2
Assignee: nobody → rrosario
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.