Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client breaks when raising errors #33

Closed
tschellenbach opened this issue Feb 9, 2016 · 0 comments · Fixed by #35
Closed

Client breaks when raising errors #33

tschellenbach opened this issue Feb 9, 2016 · 0 comments · Fixed by #35
Assignees

Comments

@tschellenbach
Copy link
Member

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
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants