Created
January 7, 2021 14:02
-
-
Save bobsilverberg/3298658dbad06b33d649519277891bc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Captured API Error: Internal Server Error,Traceback (most recent call last): | |
[1] File "/deps/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch | |
[1] response = handler(request, *args, **kwargs) | |
[1] File "/deps/lib/python3.8/site-packages/rest_framework/generics.py", line 199, in get | |
[1] return self.list(request, *args, **kwargs) | |
[1] File "/deps/lib/python3.8/site-packages/rest_framework/mixins.py", line 43, in list | |
[1] return self.get_paginated_response(serializer.data) | |
[1] File "/deps/lib/python3.8/site-packages/rest_framework/serializers.py", line 745, in data | |
[1] ret = super().data | |
[1] File "/deps/lib/python3.8/site-packages/rest_framework/serializers.py", line 246, in data | |
[1] self._data = self.to_representation(self.instance) | |
[1] File "/deps/lib/python3.8/site-packages/rest_framework/serializers.py", line 663, in to_representation | |
[1] return [ | |
[1] File "/deps/lib/python3.8/site-packages/rest_framework/serializers.py", line 664, in <listcomp> | |
[1] self.child.to_representation(item) for item in iterable | |
[1] File "/code/src/olympia/addons/serializers.py", line 746, in to_representation | |
[1] data = super(ESAddonSerializer, self).to_representation(obj) | |
[1] File "/code/src/olympia/api/serializers.py", line 61, in to_representation | |
[1] obj = self.fake_object(data) | |
[1] File "/code/src/olympia/addons/serializers.py", line 722, in fake_object | |
[1] group_id=promoted['group_id'], | |
[1] KeyError: 'group_id' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment