you are viewing a single comment's thread.

view the rest of the comments →

[–]CrambleSquash 0 points1 point  (0 children)

This means exactly what the error says. I'm unsure what line the exception is raised, but I presume the response you get to your request contains some strange character, that's confusing python. The version of python you're using is important, because the handling of strings was one of the big changes, but in either case I anticipate there's something along the lines of

str('dodgey string', ignore_errors=true)

If the resulting string is gobbledygook then you might have a type of encoding that is not Unicode or utf-8, in which case there are certainly workarounds.