Skip to content

the JSON object must be str, not 'bytes' #491

@procmail

Description

@procmail

When trying to log in with Facebook on /facebook/example/ , this is what I get:

TypeError at /facebook/connect/
the JSON object must be str, not 'bytes'
Request Method: POST
Request URL: http://www.example.com/facebook/connect/
Django Version: 1.7
Exception Type: TypeError
Exception Value:
the JSON object must be str, not 'bytes'
Exception Location: /usr/local/lib/python3.4/json/init.py in loads, line 312
Python Executable: /usr/home/eric/virtualenvs/djangovirt/bin/python
Python Version: 3.4.1
Python Path:
['/usr/home/eric/virtualenvs/djangovirt/djangoproj',
'/usr/local/lib/python34.zip',
'/usr/local/lib/python3.4',
'/usr/local/lib/python3.4/plat-freebsd10',
'/usr/local/lib/python3.4/lib-dynload',
'/usr/home/eric/virtualenvs/djangovirt/lib/python3.4/site-packages',
'/usr/home/eric/virtualenvs/djangovirt']
Server time: Wed, 15 Oct 2014 16:09:34 +0800

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions