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
NoReverseMatch: Reverse for 'user-detail' with keyword arguments '{'pk': 16}' not found. 2 pattern(s) tried: ['api/v1/users/(?P<username>[^/.]+)\\.(?P<format>[a-z0-9]+)/?$', 'api/v1/users/(?P<username>[^/.]+)$']
(1 additional frame(s) were not displayed)
...
File "rest_framework/relations.py", line 334, in get_url
return self.reverse(view_name, kwargs=kwargs, request=request, format=format)
File "rest_framework/reverse.py", line 47, in reverse
url = _reverse(viewname, args, kwargs, request, format, **extra)
File "rest_framework/reverse.py", line 60, in _reverse
url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
File "django/urls/base.py", line 88, in reverse
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
File "django/urls/resolvers.py", line 828, in _reverse_with_prefix
raise NoReverseMatch(msg)
ImproperlyConfigured: Could not resolve URL for hyperlinked relationship using view name "user-detail". You may have failed to include the related model in your API, or incorrectly configured the `lookup_field` attribute on this field.
(10 additional frame(s) were not displayed)
...
File "onadata/apps/api/viewsets/dataview_viewset.py", line 168, in list
return Response(serializer.data)
The text was updated successfully, but these errors were encountered:
Sentry Issue: ONADATA-STAGING-MS
The text was updated successfully, but these errors were encountered: