You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KeyError: 'user'
File "django/db/models/fields/related_descriptors.py", line 173, in __get__
rel_obj = self.field.get_cached_value(instance)
File "django/db/models/fields/mixins.py", line 15, in get_cached_value
return instance._state.fields_cache[cache_name]
User.DoesNotExist: User matching query does not exist.
(14 additional frame(s) were not displayed)
...
File "onadata/libs/authentication.py", line 174, in authenticate_credentials
if not token.user.is_active:
File "django/db/models/fields/related_descriptors.py", line 187, in __get__
rel_obj = self.get_object(instance)
File "django/db/models/fields/related_descriptors.py", line 307, in get_object
return super().get_object(instance)
File "django/db/models/fields/related_descriptors.py", line 154, in get_object
return qs.get(self.field.get_reverse_related_filter(instance))
File "django/db/models/query.py", line 435, in get
raise self.model.DoesNotExist(
The text was updated successfully, but these errors were encountered:
Sentry Issue: ONADATA-1T5
The text was updated successfully, but these errors were encountered: