Python Requests, getting back: Unexpected character encountered while parsing value: L. Path
- 阅读更多 关于 Python Requests, getting back: Unexpected character encountered while parsing value: L. Path
问题 I am attempting to get an auth token from The Trade Desk's (sandbox) api but I get back a 400 response stating: "Error reading Content-Type 'application/json' as JSON: Unexpected character encountered while parsing value: L. Path '', line 0, position 0." Whole response.json() : {u'ErrorDetails': [{u'Reasons': [u"Error reading Content-Type 'application/json' as JSON: Unexpected character encountered while parsing value: L. Path '', line 0, position 0."], u'Property': u'TokenRequest'}], u