Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Conversation

@survtur
Copy link

@survtur survtur commented Oct 20, 2015

This was the error:

  File "/hdd/ac/Dropbox/Personal/Python/insta/instagram/bind.py", line 130, in _do_api_request
    content_obj = simplejson.loads(content)
  File "/usr/lib/python3.4/json/__init__.py", line 312, in loads
    s.__class__.__name__))
  File "/hdd/ac/Dropbox/Personal/Python/insta/instagram/bind.py", line 130, in _do_api_request
    content_obj = simplejson.loads(content)
  File "/usr/lib/python3.4/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

@survtur survtur changed the title prevent JSON object must be str error prevent "JSON object must be str" error Oct 23, 2015
@ghost ghost added the CLA Signed label Jul 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants