Skip to content

Client breaks when raising errors #33

Closed

Description

@tschellenbach

Traceback (most recent call last):
File "examples/etoro_example.py", line 46, in
activity_response = user_feed_crembo.add_activities(activities)
File "/Users/thierryschellenbach/workspace/stream-python/stream/feed.py", line 82, in add_activities
self.feed_url, data=data, signature=token)
File "/Users/thierryschellenbach/workspace/stream-python/stream/client.py", line 203, in post
return self._make_request(self.session.post, _args, *_kwargs)
File "/Users/thierryschellenbach/workspace/stream-python/stream/client.py", line 170, in _make_request
return self._parse_response(response)
File "/Users/thierryschellenbach/workspace/stream-python/stream/client.py", line 115, in _parse_response
self.raise_exception(parsed_result, status_code=response.status_code)
File "/Users/thierryschellenbach/workspace/stream-python/stream/client.py", line 186, in raise_exception
for field, errors in exception_fields.items():
AttributeError: 'list' object has no attribute 'items'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions